Class ZipContentTypeManager

    • Constructor Detail

      • ZipContentTypeManager

        public ZipContentTypeManager​(java.io.InputStream in,
                                     OPCPackage pkg)
                              throws InvalidFormatException
        Delegate constructor to the super constructor.
        Parameters:
        in - The input stream to parse to fill internal content type collections.
        Throws:
        InvalidFormatException - If the content types part content is not valid.
    • Method Detail

      • saveImpl

        public boolean saveImpl​(org.w3c.dom.Document content,
                                java.io.OutputStream out)
        Description copied from class: ContentTypeManager
        Specific implementation of the save method. Call by the save() method, call before exiting.
        Specified by:
        saveImpl in class ContentTypeManager
        out - The output stream use to write the content type XML.