Package org.apache.tika.mime
Class ProbabilisticMimeDetectionSelector.Builder
java.lang.Object
org.apache.tika.mime.ProbabilisticMimeDetectionSelector.Builder
- Enclosing class:
- ProbabilisticMimeDetectionSelector
build class for probability parameters setting
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild2()
Initialize the MimeTypes with this builder instanceextension_neg
(float trust) extension_trust
(float trust) magic_neg
(float trust) magic_trust
(float trust) meta_neg
(float trust) meta_trust
(float trust) priorExtensionFileType
(float prior) priorMagicFileType
(float prior) priorMetaFileType
(float prior) threshold
(float threshold)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
priorMagicFileType
-
priorExtensionFileType
-
priorMetaFileType
-
magic_trust
-
extension_trust
-
meta_trust
-
magic_neg
-
extension_neg
-
meta_neg
-
threshold
-
build2
Initialize the MimeTypes with this builder instance
-