Uses of Interface
org.apache.tika.detect.Detector
Package
Description
Apache Tika.
Tika configuration tools.
Media type detection.
Extraction of component documents.
Media type information.
Tika parsers.
-
Uses of Detector in org.apache.tika
Modifier and TypeMethodDescriptionTika.getDetector()
Returns the detector instance used by this facade.ModifierConstructorDescriptionCreates a Tika facade using the given detector instance, the default parser configuration, and the default Translator.Creates a Tika facade using the given detector and parser instances, but the default Translator.Tika
(Detector detector, Parser parser, Translator translator) Creates a Tika facade using the given detector, parser, and translator instances. -
Uses of Detector in org.apache.tika.config
Modifier and TypeMethodDescriptionTikaConfig.getDetector()
Returns the configured detector instance. -
Uses of Detector in org.apache.tika.detect
Modifier and TypeClassDescriptionclass
Content type detector that combines multiple different detection mechanisms.class
A composite detector based on all theDetector
implementations available through theservice provider mechanism
.class
A version ofDefaultDetector
for probabilistic mime detectors, which use statistical techniques to blend the results of differing underlying detectors when attempting to detect the type of a given file.class
Dummy detector that returns application/octet-stream for all documents.class
This runs the linux 'file' command against a file.class
Content type detection based on magic bytes, i.e. type-specific patterns near the beginning of the document input stream.class
Content type detection based on the resource name.class
class
Deprecated.after 2.5.0 this functionality was moved to the CompositeDetectorclass
Content type detection of plain text documents.class
class
Content type detection based on a content type hint.class
Detector to identify zero length files as application/x-zerovalueModifier and TypeMethodDescriptionCompositeDetector.getDetectors()
Returns the component detectors.DefaultDetector.getDetectors()
DefaultProbDetector.getDetectors()
ModifierConstructorDescriptionCompositeDetector
(List<Detector> detectors) CompositeDetector
(MediaTypeRegistry registry, List<Detector> detectors) CompositeDetector
(MediaTypeRegistry registry, List<Detector> detectors, Collection<Class<? extends Detector>> excludeDetectors) CompositeDetector
(MediaTypeRegistry registry, List<Detector> detectors, Collection<Class<? extends Detector>> excludeDetectors) DefaultDetector
(MimeTypes types, ServiceLoader loader, Collection<Class<? extends Detector>> excludeDetectors) -
Uses of Detector in org.apache.tika.detect.apple
Modifier and TypeClassDescriptionclass
Detector for BPList with utility functions for PList. -
Uses of Detector in org.apache.tika.detect.gzip
Modifier and TypeClassDescriptionclass
This is designed to detect commonly gzipped file types such as warc.gz. -
Uses of Detector in org.apache.tika.detect.microsoft
Modifier and TypeClassDescriptionclass
A detector that works on a POIFS OLE2 document to figure out exactly what the file is. -
Uses of Detector in org.apache.tika.detect.ole
Modifier and TypeClassDescriptionclass
A detector that works on a POIFS OLE2 document to figure out exactly what the file is. -
Uses of Detector in org.apache.tika.detect.siegfried
Modifier and TypeClassDescriptionclass
Simple wrapper around Siegfried https://github.com/richardlehane/siegfried The default behavior is to run detection, report the results in the metadata and then return null so that other detectors will be used. -
Uses of Detector in org.apache.tika.detect.zip
Modifier and TypeClassDescriptionclass
class
class
Currently only used in tests. -
Uses of Detector in org.apache.tika.example
ModifierConstructorDescriptionImportContextImpl
(javax.jcr.Item importRoot, String systemId, org.apache.jackrabbit.webdav.io.InputContext ctx, InputStream stream, org.apache.jackrabbit.server.io.IOListener ioListener, Detector detector) Creates a new item import context. -
Uses of Detector in org.apache.tika.extractor
-
Uses of Detector in org.apache.tika.mime
Modifier and TypeClassDescriptionfinal class
This class is a MimeType repository.class
Selector for combining different mime detection results based on probability -
Uses of Detector in org.apache.tika.parser
Modifier and TypeMethodDescriptionAutoDetectParser.getDetector()
Returns the type detector used by this parser to auto-detect the type of a document.Modifier and TypeMethodDescriptionvoid
AutoDetectParser.setDetector
(Detector detector) Sets the type detector used by this parser to auto-detect the type of a document.ModifierConstructorDescriptionAutoDetectParser
(Detector detector) AutoDetectParser
(Detector detector, Parser... parsers)