Search in sources :

Example 1 with NSFDXLExporter

use of com.darwino.domino.napi.wrap.NSFDXLExporter in project org.openntf.nsfodp by OpenNTF.

the class DarwinoNotesAPI method createDXLExporter.

@Override
public NDXLExporter createDXLExporter() {
    try {
        NSFDXLExporter exporter = session.createDXLExporter();
        exporter.setExportCharset(DXL_EXPORT_CHARSET.Utf8);
        exporter.setOutputDoctype(false);
        return new DarwinoNDXLExporter(exporter);
    } catch (DominoException e) {
        throw new NDominoException(e.getStatus(), e);
    }
}
Also used : NDominoException(org.openntf.nsfodp.commons.odp.notesapi.NDominoException) NSFDXLExporter(com.darwino.domino.napi.wrap.NSFDXLExporter) DominoException(com.darwino.domino.napi.DominoException) NDominoException(org.openntf.nsfodp.commons.odp.notesapi.NDominoException)

Aggregations

DominoException (com.darwino.domino.napi.DominoException)1 NSFDXLExporter (com.darwino.domino.napi.wrap.NSFDXLExporter)1 NDominoException (org.openntf.nsfodp.commons.odp.notesapi.NDominoException)1