Class XJDFZipReader

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

public class XJDFZipReader extends Object implements IStreamWriter
class to unpack multi-xjdf zip files and convert the package to a single jdf and jmf file
  • Constructor Details

    • XJDFZipReader

      public XJDFZipReader(InputStream inStream)
    • XJDFZipReader

      public XJDFZipReader(ZipReader zipReader)
    • XJDFZipReader

      public XJDFZipReader(File inFile)
  • Method Details

    • setPath

      public void setPath(String path)
      Parameters:
      path - the path to set
    • 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...
    • convert

      public void convert()
    • getXJDF

      public XMLDoc getXJDF(int i)
    • getXJDFs

      public Vector<XMLDoc> getXJDFs()
    • convertXJDF

      public void convertXJDF()
    • getXJMF

      public XMLDoc getXJMF()
    • toString

      public String toString()
      Overrides:
      toString in class Object
      See Also:
    • getJDFRoot

      public JDFNode getJDFRoot()
      Returns:
    • getJMFRoot

      public JDFJMF getJMFRoot()
      Returns:
    • getConverter

      public XJDFToJDFConverter getConverter()
      Returns:
    • setConverter

      public void setConverter(XJDFToJDFConverter converter)
      Parameters:
      converter -
    • setNewJMF

      protected void setNewJMF(JDFDoc newJMF)
      Parameters:
      newJMF - the newJMF to set