Package org.apache.tika.extractor
Interface DocumentSelector
-
- All Known Implementing Classes:
FSDocumentSelector
public interface DocumentSelectorInterface for different document selection strategies for purposes like embedded document extraction by aContainerExtractorinstance. An implementation of this interface defines some specific selection criteria to be applied against the document metadata passed to theselect(Metadata)method.- Since:
- Apache Tika 0.8
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description booleanselect(Metadata metadata)Checks if a document with the given metadata matches the specified selection criteria.
-
-
-
Method Detail
-
select
boolean select(Metadata metadata)
Checks if a document with the given metadata matches the specified selection criteria.- Parameters:
metadata- document metadata- Returns:
trueif the document matches the selection criteria,falseotherwise
-
-