public interface IDocumentFilter extends IImportHandler
Modifier and Type | Method and Description |
---|---|
boolean |
acceptDocument(InputStream document,
Properties metadata,
boolean parsed)
Whether to accepts a document.
|
boolean acceptDocument(InputStream document, Properties metadata, boolean parsed) throws IOException
document
- the document to evaluatemetadata
- document metadataparsed
- whether the document has been parsed already or not (a
parsed document should normally be text-based)true
if document is acceptedIOException
- problem reading the documentCopyright © 2009-2014 Norconex Inc.. All Rights Reserved.