Package org.apache.tika.detect
Class DefaultDetector
java.lang.Object
org.apache.tika.detect.CompositeDetector
org.apache.tika.detect.DefaultDetector
- All Implemented Interfaces:
Serializable,Detector
Deprecated.
This version of the Apache Tika library is deprecated. Use your own version of Apache Tika.
A composite detector based on all the
Detector implementations
available through the service provider mechanism.
Detectors are loaded and returned in a specified order, of user supplied
followed by non-MimeType Tika, followed by the Tika MimeType class.
If you need to control the order of the Detectors, you should instead
construct your own CompositeDetector and pass in the list
of Detectors in the required order.- Since:
- Apache Tika 0.9
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionDeprecated.DefaultDetector(ClassLoader loader) Deprecated.DefaultDetector(MimeTypes types) Deprecated.DefaultDetector(MimeTypes types, ClassLoader loader) Deprecated.DefaultDetector(MimeTypes types, ServiceLoader loader) Deprecated.DefaultDetector(MimeTypes types, ServiceLoader loader, Collection<Class<? extends Detector>> excludeDetectors) Deprecated. -
Method Summary
Modifier and TypeMethodDescriptionDeprecated.Returns the component detectors.Methods inherited from class org.apache.tika.detect.CompositeDetector
detect
-
Constructor Details
-
DefaultDetector
public DefaultDetector(MimeTypes types, ServiceLoader loader, Collection<Class<? extends Detector>> excludeDetectors) Deprecated. -
DefaultDetector
Deprecated. -
DefaultDetector
Deprecated. -
DefaultDetector
Deprecated. -
DefaultDetector
Deprecated. -
DefaultDetector
public DefaultDetector()Deprecated.
-
-
Method Details
-
getDetectors
Deprecated.Description copied from class:CompositeDetectorReturns the component detectors.- Overrides:
getDetectorsin classCompositeDetector
-