Package org.apache.tika.extractor
Class SkipEmbeddedDocumentSelector
java.lang.Object
org.apache.tika.extractor.SkipEmbeddedDocumentSelector
- All Implemented Interfaces:
DocumentSelector
A
DocumentSelector that skips all embedded documents.
When this selector is set on the ParseContext,
no embedded documents will be extracted during parsing.- Since:
- Apache Tika 4.0
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
SkipEmbeddedDocumentSelector
public SkipEmbeddedDocumentSelector()
-
-
Method Details
-
select
Description copied from interface:DocumentSelectorChecks if a document with the given metadata matches the specified selection criteria.- Specified by:
selectin interfaceDocumentSelector- Parameters:
metadata- document metadata- Returns:
trueif the document matches the selection criteria,falseotherwise
-