Interface IDocumentTransformer

    • Method Detail

      • transformDocument

        void transformDocument​(HandlerDoc doc,
                               InputStream input,
                               OutputStream output,
                               ParseState parseState)
                        throws ImporterHandlerException
        Transforms document content and metadata.
        Parameters:
        doc - document
        input - document content to transform
        output - transformed document content
        parseState - whether the document has been parsed already or not (a parsed document should normally be text-based)
        Throws:
        ImporterHandlerException - could not transform the document