Package org.apache.tika.detect
Class DefaultProbDetector
- java.lang.Object
-
- org.apache.tika.detect.CompositeDetector
-
- org.apache.tika.detect.DefaultProbDetector
-
- All Implemented Interfaces:
java.io.Serializable
,Detector
public class DefaultProbDetector extends CompositeDetector
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. TODO Link to documentation on configuring these probabilities- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description DefaultProbDetector()
DefaultProbDetector(java.lang.ClassLoader loader)
DefaultProbDetector(MimeTypes types)
DefaultProbDetector(ProbabilisticMimeDetectionSelector sel, java.lang.ClassLoader loader)
DefaultProbDetector(ProbabilisticMimeDetectionSelector sel, ServiceLoader loader)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.List<Detector>
getDetectors()
Returns the component detectors.-
Methods inherited from class org.apache.tika.detect.CompositeDetector
detect
-
-
-
-
Constructor Detail
-
DefaultProbDetector
public DefaultProbDetector(ProbabilisticMimeDetectionSelector sel, ServiceLoader loader)
-
DefaultProbDetector
public DefaultProbDetector(ProbabilisticMimeDetectionSelector sel, java.lang.ClassLoader loader)
-
DefaultProbDetector
public DefaultProbDetector(java.lang.ClassLoader loader)
-
DefaultProbDetector
public DefaultProbDetector(MimeTypes types)
-
DefaultProbDetector
public DefaultProbDetector()
-
-
Method Detail
-
getDetectors
public java.util.List<Detector> getDetectors()
Description copied from class:CompositeDetector
Returns the component detectors.- Overrides:
getDetectors
in classCompositeDetector
-
-