Class XmlExport
java.lang.Object
com.aquima.interactions.ds.export.r17.XmlExport
Class for creating an export
- Since:
- 17.1
-
Method Summary
Modifier and TypeMethodDescriptionstatic XmlExport
create
(IDatasourceXml exportData, boolean encrypt) Creates an ExportXml with the specified metaData.void
writeXml
(OutputStream result, IResource privateCertificate) Writes the export to a stream.
-
Method Details
-
create
Creates an ExportXml with the specified metaData.- Parameters:
exportData
- the data for the export.encrypt
- if the data should be encrypted- Returns:
- an ExportXml
-
writeXml
Writes the export to a stream.- Parameters:
result
- The destination output stream.privateCertificate
- the private certificate that is used for signing.- Throws:
IOException
- When the export failed writing.
-