public interface IDocumentFilter extends IImporterHandler
Modifier and Type | Method and Description |
---|---|
boolean |
acceptDocument(HandlerDoc doc,
InputStream input,
ParseState parseState)
Whether to accepts a document.
|
boolean acceptDocument(HandlerDoc doc, InputStream input, ParseState parseState) throws ImporterHandlerException
doc
- the document to evaluateinput
- document contentparseState
- whether the document has been parsed already or not (a
parsed document should normally be text-based)true
if document is acceptedImporterHandlerException
- problem reading the documentCopyright © 2009–2023 Norconex Inc.. All rights reserved.