Class XJDFZipReader

  • All Implemented Interfaces:
    IStreamWriter

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

      • XJDFZipReader

        public XJDFZipReader​(java.io.InputStream inStream)
      • XJDFZipReader

        public XJDFZipReader​(ZipReader zipReader)
      • XJDFZipReader

        public XJDFZipReader​(java.io.File inFile)
    • Method Detail

      • setPath

        public void setPath​(java.lang.String path)
        Parameters:
        path - the path to set
      • writeStream

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

        public void convert()
      • getXJDF

        public XMLDoc getXJDF​(int i)
      • getXJDFs

        public java.util.Vector<XMLDoc> getXJDFs()
      • convertXJDF

        public void convertXJDF()
      • getXJMF

        public XMLDoc getXJMF()
      • toString

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

        public JDFNode getJDFRoot()
        Returns:
      • getJMFRoot

        public JDFJMF getJMFRoot()
        Returns:
      • setConverter

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

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