Class XJDFZipWriter

java.lang.Object
org.cip4.jdflib.extensions.XJDFZipWriter
All Implemented Interfaces:
IStreamWriter

public class XJDFZipWriter extends Object implements IStreamWriter
  • Constructor Details

    • XJDFZipWriter

      public XJDFZipWriter()
  • Method Details

    • 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(String path, InputStream inStream)
      Parameters:
      path - the local path where we want the stream copy in the zip file
      inStream - the stream...
    • numAux

      public int numAux()
      Returns:
    • getXJDFPath

      protected String getXJDFPath(int i)
    • writeStream

      public void writeStream(OutputStream os) throws IOException
      Description copied from interface: IStreamWriter
      write myself to a stream
      Specified by:
      writeStream in interface IStreamWriter
      Parameters:
      os - the output stream
      Throws:
      IOException - if io snafu...
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • getCommandType

      public JDFMessage.EnumType getCommandType()
    • setCommandType

      public void setCommandType(JDFMessage.EnumType commandType)
      Parameters:
      commandType -
      Throws:
      IllegalArgumentException - if commandType is invalid
    • getQeID

      public String getQeID()
    • setQeID

      public void setQeID(String qeID)