public class XJdfPackager extends AbstractXmlPackager
AbstractXmlPackager.CompressionLevel| Constructor and Description |
|---|
XJdfPackager(byte[] xjdf)
Custom constructor.
|
XJdfPackager(byte[] xjdf,
String rootPath)
Custom constructor.
|
XJdfPackager(String xjdfPath)
Custom constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
packageXJdf(OutputStream os)
Packages an XJDF Document to a zipped binary output stream.
|
void |
packageXJdf(OutputStream os,
String docName)
Packages an XJDF Document to a zipped binary output stream.
|
void |
packageXJdf(OutputStream os,
String docName,
boolean withoutHierarchy)
Packages an XJDF Document to a zipped binary output stream.
|
getCompressionLevel, getXmlDoc, packageXml, registerFile, registerFiles, setCompressionLevelpublic XJdfPackager(String xjdfPath) throws Exception
xjdfPath - Path to XJDF Document.Exceptionpublic XJdfPackager(byte[] xjdf)
throws Exception
xJdf - XJDF Document byte array for packaging.Exceptionpublic void packageXJdf(OutputStream os) throws Exception
os - Target OutputStream where XJdfDocument is being packaged.Exceptionpublic void packageXJdf(OutputStream os, String docName) throws Exception
os - Target OutputStream where XJdfDocument is being packaged.docName - Documents name in ZIP Package.Exceptionpublic void packageXJdf(OutputStream os, String docName, boolean withoutHierarchy) throws Exception
os - Target OutputStream where XJdfDocument is being packaged.docName - Documents name in ZIP Package.withoutHierarchy - Put all files into the ZIP Root.ExceptionCopyright © 2014. All Rights Reserved.