public interface IDocumentTransformer extends IImporterHandler
Modifier and Type | Method and Description |
---|---|
void |
transformDocument(String reference,
InputStream input,
OutputStream output,
ImporterMetadata metadata,
boolean parsed)
Transforms document content and metadata.
|
void transformDocument(String reference, InputStream input, OutputStream output, ImporterMetadata metadata, boolean parsed) throws ImporterHandlerException
reference
- document reference (e.g. URL)input
- document to transformoutput
- transformed documentmetadata
- document metadataparsed
- whether the document has been parsed already or not (a
parsed document should normally be text-based)ImporterHandlerException
- could not transform the documentCopyright © 2009–2021 Norconex Inc.. All rights reserved.