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 TypeClassDescriptionclassContent type detector that combines multiple different detection mechanisms.classA composite detector based on all theDetectorimplementations available through theservice provider mechanism.classA 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.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()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.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 TypeMethodDescriptionvoidAutoDetectParser.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)