public interface IDocumentTransformer extends IImportHandler
Modifier and Type | Method and Description |
---|---|
void |
transformDocument(String reference,
InputStream input,
OutputStream output,
Properties metadata,
boolean parsed)
Transforms document content and metadata.
|
void transformDocument(String reference, InputStream input, OutputStream output, Properties metadata, boolean parsed) throws IOException
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)IOException
- could not transform the documentCopyright © 2009-2014 Norconex Inc.. All Rights Reserved.