Uses of Interface
org.apache.tika.detect.Detector
Packages that use 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
Methods in org.apache.tika that return DetectorModifier and TypeMethodDescriptionTika.getDetector()
Returns the detector instance used by this facade.Constructors in org.apache.tika with parameters of type DetectorModifierConstructorDescriptionCreates 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
Methods in org.apache.tika.config that return DetectorModifier and TypeMethodDescriptionTikaConfig.getDetector()
Returns the configured detector instance. -
Uses of Detector in org.apache.tika.detect
Classes in org.apache.tika.detect that implement DetectorModifier 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-zerovalueMethods in org.apache.tika.detect that return types with arguments of type DetectorModifier and TypeMethodDescriptionCompositeDetector.getDetectors()
Returns the component detectors.DefaultDetector.getDetectors()
DefaultProbDetector.getDetectors()
Constructors in org.apache.tika.detect with parameters of type DetectorConstructor parameters in org.apache.tika.detect with type arguments of type DetectorModifierConstructorDescriptionCompositeDetector
(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
Classes in org.apache.tika.detect.apple that implement DetectorModifier and TypeClassDescriptionclass
Detector for BPList with utility functions for PList. -
Uses of Detector in org.apache.tika.detect.gzip
Classes in org.apache.tika.detect.gzip that implement DetectorModifier and TypeClassDescriptionclass
This is designed to detect commonly gzipped file types such as warc.gz. -
Uses of Detector in org.apache.tika.detect.microsoft
Classes in org.apache.tika.detect.microsoft that implement DetectorModifier 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
Classes in org.apache.tika.detect.ole that implement DetectorModifier 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
Classes in org.apache.tika.detect.siegfried that implement DetectorModifier 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
Classes in org.apache.tika.detect.zip that implement DetectorModifier and TypeClassDescriptionclass
class
class
Currently only used in tests. -
Uses of Detector in org.apache.tika.example
Classes in org.apache.tika.example that implement DetectorConstructors in org.apache.tika.example with parameters of type DetectorModifierConstructorDescriptionImportContextImpl
(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
Methods in org.apache.tika.extractor that return DetectorConstructors in org.apache.tika.extractor with parameters of type Detector -
Uses of Detector in org.apache.tika.mime
Classes in org.apache.tika.mime that implement DetectorModifier 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
Methods in org.apache.tika.parser that return DetectorModifier and TypeMethodDescriptionAutoDetectParser.getDetector()
Returns the type detector used by this parser to auto-detect the type of a document.Methods in org.apache.tika.parser with parameters of type DetectorModifier and TypeMethodDescriptionvoid
AutoDetectParser.setDetector
(Detector detector) Sets the type detector used by this parser to auto-detect the type of a document.Constructors in org.apache.tika.parser with parameters of type DetectorModifierConstructorDescriptionAutoDetectParser
(Detector detector) AutoDetectParser
(Detector detector, Parser... parsers)