Class SkipEmbeddedDocumentSelector

java.lang.Object
org.apache.tika.extractor.SkipEmbeddedDocumentSelector
All Implemented Interfaces:
DocumentSelector

public class SkipEmbeddedDocumentSelector extends Object implements 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 Details

    • SkipEmbeddedDocumentSelector

      public SkipEmbeddedDocumentSelector()
  • Method Details

    • select

      public boolean select(Metadata metadata)
      Description copied from interface: DocumentSelector
      Checks if a document with the given metadata matches the specified selection criteria.
      Specified by:
      select in interface DocumentSelector
      Parameters:
      metadata - document metadata
      Returns:
      true if the document matches the selection criteria, false otherwise