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