Package org.cip4.jdflib.extensions
Class XJDFZipWriter
- java.lang.Object
-
- org.cip4.jdflib.extensions.XJDFZipWriter
-
- All Implemented Interfaces:
IStreamWriter
public class XJDFZipWriter extends java.lang.Object implements IStreamWriter
-
-
Constructor Summary
Constructors Constructor Description XJDFZipWriter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddAux(java.lang.String path, java.io.InputStream inStream)voidaddXJDF(XJDFHelper xjdf)voidaddXJDF(XJDFHelper xjdf, boolean addReferenced)JDFMessage.EnumTypegetCommandType()java.lang.StringgetQeID()protected java.lang.StringgetXJDFPath(int i)intnumAux()voidsetCommandType(JDFMessage.EnumType commandType)voidsetQeID(java.lang.String qeID)voidsetXjmf(XJMFHelper xjmf)java.lang.StringtoString()voidwriteStream(java.io.OutputStream os)write myself to a stream
-
-
-
Method Detail
-
setXjmf
public void setXjmf(XJMFHelper xjmf)
- Parameters:
xjmf- the xjmf to set
-
addXJDF
public void addXJDF(XJDFHelper xjdf)
- Parameters:
xjdf- the xjdf to add
-
addXJDF
public void addXJDF(XJDFHelper xjdf, boolean addReferenced)
- Parameters:
xjdf- the xjdf to add
-
addAux
public void addAux(java.lang.String path, java.io.InputStream inStream)- Parameters:
path- the local path where we want the stream copy in the zip fileinStream- the stream...
-
numAux
public int numAux()
- Returns:
-
getXJDFPath
protected java.lang.String getXJDFPath(int i)
-
writeStream
public void writeStream(java.io.OutputStream os) throws java.io.IOExceptionDescription copied from interface:IStreamWriterwrite myself to a stream- Specified by:
writeStreamin interfaceIStreamWriter- Parameters:
os- the output stream- Throws:
java.io.IOException- if io snafu...
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
getCommandType
public JDFMessage.EnumType getCommandType()
-
setCommandType
public void setCommandType(JDFMessage.EnumType commandType)
- Parameters:
commandType-- Throws:
java.lang.IllegalArgumentException- if commandType is invalid
-
getQeID
public java.lang.String getQeID()
-
setQeID
public void setQeID(java.lang.String qeID)
-
-