Package org.apache.tika.extractor
Interface DocumentSelector
-
- All Known Implementing Classes:
FSDocumentSelector
public interface DocumentSelector
Interface for different document selection strategies for purposes like embedded document extraction by aContainerExtractor
instance. 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 boolean
select(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:
true
if the document matches the selection criteria,false
otherwise
-
-