Class ExportBuilder
java.lang.Object
com.aquima.interactions.ds.export.r12.ExportBuilder
Class for generating exports.
- Since:
- 12.0
- Author:
- Danny Roest, Vincent Jansen
-
Method Summary
Modifier and TypeMethodDescriptionstatic ExportBuilder
createApplicationExport
(ApplicationExportDS export, IResource privateCertificate) Creates an Export Builder for an application zip export.static ExportBuilder
Creates an Export Builder for an composer xml export.getInfo()
Returns information about the export.void
writeToStream
(OutputStream outputStream) Writes the export to an outputstream.
-
Method Details
-
createApplicationExport
public static ExportBuilder createApplicationExport(ApplicationExportDS export, IResource privateCertificate) Creates an Export Builder for an application zip export.- Parameters:
export
- the application exportprivateCertificate
- private certificate for signing the application Export- Returns:
- an ExportBuilder for an application zip export
-
createZip
public static ExportBuilder createZip(String exportName, IExportDS export, IResource privateCertificate) Creates an Export Builder for an composer xml export.- Parameters:
exportName
- the composer exportexport
- the file to exportprivateCertificate
- the certificate to sign the export with- Returns:
- an ExportBuilder for an composer xml export
-
getInfo
Returns information about the export.- Returns:
- information about the export
-
writeToStream
Writes the export to an outputstream.- Parameters:
outputStream
- the outputstream to write to.- Throws:
IOException
- unexpected IO exception
-