Package org.apache.tika.mime
Class ProbabilisticMimeDetectionSelector.Builder
- java.lang.Object
-
- org.apache.tika.mime.ProbabilisticMimeDetectionSelector.Builder
-
- Enclosing class:
- ProbabilisticMimeDetectionSelector
public static class ProbabilisticMimeDetectionSelector.Builder extends Object
build class for probability parameters setting
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ProbabilisticMimeDetectionSelector
build2()
Initialize the MimeTypes with this builder instanceProbabilisticMimeDetectionSelector.Builder
extension_neg(float trust)
ProbabilisticMimeDetectionSelector.Builder
extension_trust(float trust)
ProbabilisticMimeDetectionSelector.Builder
magic_neg(float trust)
ProbabilisticMimeDetectionSelector.Builder
magic_trust(float trust)
ProbabilisticMimeDetectionSelector.Builder
meta_neg(float trust)
ProbabilisticMimeDetectionSelector.Builder
meta_trust(float trust)
ProbabilisticMimeDetectionSelector.Builder
priorExtensionFileType(float prior)
ProbabilisticMimeDetectionSelector.Builder
priorMagicFileType(float prior)
ProbabilisticMimeDetectionSelector.Builder
priorMetaFileType(float prior)
ProbabilisticMimeDetectionSelector.Builder
threshold(float threshold)
-
-
-
Method Detail
-
priorMagicFileType
public ProbabilisticMimeDetectionSelector.Builder priorMagicFileType(float prior)
-
priorExtensionFileType
public ProbabilisticMimeDetectionSelector.Builder priorExtensionFileType(float prior)
-
priorMetaFileType
public ProbabilisticMimeDetectionSelector.Builder priorMetaFileType(float prior)
-
magic_trust
public ProbabilisticMimeDetectionSelector.Builder magic_trust(float trust)
-
extension_trust
public ProbabilisticMimeDetectionSelector.Builder extension_trust(float trust)
-
meta_trust
public ProbabilisticMimeDetectionSelector.Builder meta_trust(float trust)
-
magic_neg
public ProbabilisticMimeDetectionSelector.Builder magic_neg(float trust)
-
extension_neg
public ProbabilisticMimeDetectionSelector.Builder extension_neg(float trust)
-
meta_neg
public ProbabilisticMimeDetectionSelector.Builder meta_neg(float trust)
-
threshold
public ProbabilisticMimeDetectionSelector.Builder threshold(float threshold)
-
build2
public ProbabilisticMimeDetectionSelector build2()
Initialize the MimeTypes with this builder instance
-
-