public class DefaultProbDetector extends CompositeDetector
DefaultDetector
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 probabilitiesConstructor and Description |
---|
DefaultProbDetector() |
DefaultProbDetector(ClassLoader loader) |
DefaultProbDetector(MimeTypes types) |
DefaultProbDetector(ProbabilisticMimeDetectionSelector sel,
ClassLoader loader) |
DefaultProbDetector(ProbabilisticMimeDetectionSelector sel,
ServiceLoader loader) |
Modifier and Type | Method and Description |
---|---|
List<Detector> |
getDetectors()
Returns the component detectors.
|
detect
public DefaultProbDetector(ProbabilisticMimeDetectionSelector sel, ServiceLoader loader)
public DefaultProbDetector(ProbabilisticMimeDetectionSelector sel, ClassLoader loader)
public DefaultProbDetector(ClassLoader loader)
public DefaultProbDetector(MimeTypes types)
public DefaultProbDetector()
public List<Detector> getDetectors()
CompositeDetector
getDetectors
in class CompositeDetector
Copyright © 2007–2017 The Apache Software Foundation. All rights reserved.