Class DefaultDetector

java.lang.Object
org.apache.tika.detect.CompositeDetector
org.apache.tika.detect.DefaultDetector
All Implemented Interfaces:
Serializable, Detector

@Deprecated(since="2026-04-30") public class DefaultDetector extends CompositeDetector
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: