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(java.lang.ClassLoader loader) |
DefaultProbDetector(MimeTypes types) |
DefaultProbDetector(ProbabilisticMimeDetectionSelector sel,
java.lang.ClassLoader loader) |
DefaultProbDetector(ProbabilisticMimeDetectionSelector sel,
ServiceLoader loader) |
Modifier and Type | Method and Description |
---|---|
java.util.List<Detector> |
getDetectors()
Returns the component detectors.
|
detect
public DefaultProbDetector(ProbabilisticMimeDetectionSelector sel, ServiceLoader loader)
public DefaultProbDetector(ProbabilisticMimeDetectionSelector sel, java.lang.ClassLoader loader)
public DefaultProbDetector(java.lang.ClassLoader loader)
public DefaultProbDetector(MimeTypes types)
public DefaultProbDetector()
public java.util.List<Detector> getDetectors()
CompositeDetector
getDetectors
in class CompositeDetector
Copyright © 2010 - 2020 Adobe. All Rights Reserved