public class PrintTalkPackager extends org.cip4.lib.xjdf.xml.internal.AbstractXmlPackager<PrintTalk>
| Constructor and Description |
|---|
PrintTalkPackager(OutputStream out)
Create a new PrintTalkPackager.
|
PrintTalkPackager(Path zipPath,
OutputStream out)
Create a new PrintTalkPackager.
|
| Modifier and Type | Method and Description |
|---|---|
void |
packagePrintTalk(PrintTalk ptk)
Packages a PrintTalk document to a zipped binary output stream.
|
void |
packagePrintTalk(PrintTalk ptk,
String docName)
Packages a PrintTalk document.
|
protected byte[] |
parseDocument(PrintTalk printTalk) |
public PrintTalkPackager(OutputStream out)
out - The underlying OutputStream to write the package to.public PrintTalkPackager(Path zipPath, OutputStream out)
zipPath - The path to an existing archive.out - The underlying OutputStream to write the package to.public final void packagePrintTalk(PrintTalk ptk) throws Exception
ptk - The PrintTalk document to package.Exception - If packaging fails.public final void packagePrintTalk(PrintTalk ptk, String docName) throws org.cip4.lib.xjdf.xml.internal.PackagerException, XPathExpressionException
ptk - The PrintTalk document to package.docName - Document's name in ZIP Package.org.cip4.lib.xjdf.xml.internal.PackagerException - If the PTK could not be packaged.XPathExpressionException - If the PTK could not be packaged.Copyright © 2016. All rights reserved.