Uses of Interface
org.apache.tika.detect.Detector
Packages that use Detector
Package
Description
Apache Tika.
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.loader
Methods in org.apache.tika.config.loader that return DetectorModifier and TypeMethodDescriptionprotected DetectorDetectorLoader.createDefaultComposite(Set<Class<? extends Detector>> exclusions, LoaderContext context) protected DetectorDetectorLoader.handleSpecialName(String name, com.fasterxml.jackson.databind.JsonNode configNode, LoaderContext context) protected DetectorDetectorLoader.loadComponent(String name, com.fasterxml.jackson.databind.JsonNode configNode, LoaderContext context) TikaLoader.loadDetectors()Loads and returns all detectors.protected DetectorDetectorLoader.wrapInComposite(List<Detector> detectors, LoaderContext context) Method parameters in org.apache.tika.config.loader with type arguments of type DetectorModifier and TypeMethodDescriptionprotected DetectorDetectorLoader.createDefaultComposite(Set<Class<? extends Detector>> exclusions, LoaderContext context) protected DetectorDetectorLoader.wrapInComposite(List<Detector> detectors, LoaderContext context) -
Uses of Detector in org.apache.tika.detect
Classes in org.apache.tika.detect that implement DetectorModifier and TypeClassDescriptionclassContent type detector that combines multiple different detection mechanisms.classA composite detector that orchestrates the detection pipeline: MimeTypes (magic byte) detection Container and other detectors loaded via SPI TextDetector as fallback for unknown types Returns the most specific type detectedclassA version ofDefaultDetectorfor 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.classDummy detector that returns application/octet-stream for all documents.classThis runs the linux 'file' command against a file.classContent type detection based on magic bytes, i.e. type-specific patterns near the beginning of the document input stream.classDetector for Matroska (MKV and WEBM) files based on the EBML header.classContent type detection based on the resource name.classclassDeprecated.after 2.5.0 this functionality was moved to the CompositeDetectorclassContent type detection of plain text documents.classclassContent type detection based on a content type hint.classDetector 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()Collection<Class<? extends Detector>>DefaultDetector.getExcludedClasses()Returns the classes that were explicitly excluded when constructing this detector.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 TypeClassDescriptionclassDetector 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 TypeClassDescriptionclassThis is designed to detect commonly gzipped file types such as warc.gz. -
Uses of Detector in org.apache.tika.detect.magika
Classes in org.apache.tika.detect.magika that implement DetectorModifier and TypeClassDescriptionclassSimple wrapper around Google's magika: https://github.com/google/magika The tool must be installed on the host where Tika is running. -
Uses of Detector in org.apache.tika.detect.microsoft
Classes in org.apache.tika.detect.microsoft that implement DetectorModifier and TypeClassDescriptionclassA detector that works on a POIFS OLE2 document to figure out exactly what the file is. -
Uses of Detector in org.apache.tika.detect.ogg
Classes in org.apache.tika.detect.ogg that implement DetectorModifier and TypeClassDescriptionclassDetector for identifying specific file types stored within an Ogg container. -
Uses of Detector in org.apache.tika.detect.ole
Classes in org.apache.tika.detect.ole that implement DetectorModifier and TypeClassDescriptionclassA 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 TypeClassDescriptionclassSimple 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 TypeClassDescriptionclassThis class is designed to detect subtypes of zip-based file formats.classclassA zip container detector that uses only streaming detection, never opening the file as a ZipFile. -
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 classThis class is a MimeType repository.classSelector 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 TypeMethodDescriptionstatic ParserAutoDetectParser.build(CompositeParser parser, Detector detector, AutoDetectParserConfig autoDetectParserConfig) voidAutoDetectParser.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) AutoDetectParser(MediaTypeRegistry mediaTypeRegistry, Parser parser, Detector detector, AutoDetectParserConfig autoDetectParserConfig) -
Uses of Detector in org.apache.tika.pipes.core.server
Methods in org.apache.tika.pipes.core.server that return Detector