public static class ProbabilisticMimeDetectionSelector.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
ProbabilisticMimeDetectionSelector |
build2()
Initialize the MimeTypes with this builder instance
|
ProbabilisticMimeDetectionSelector.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) |
public ProbabilisticMimeDetectionSelector.Builder priorMagicFileType(float prior)
public ProbabilisticMimeDetectionSelector.Builder priorExtensionFileType(float prior)
public ProbabilisticMimeDetectionSelector.Builder priorMetaFileType(float prior)
public ProbabilisticMimeDetectionSelector.Builder magic_trust(float trust)
public ProbabilisticMimeDetectionSelector.Builder extension_trust(float trust)
public ProbabilisticMimeDetectionSelector.Builder meta_trust(float trust)
public ProbabilisticMimeDetectionSelector.Builder magic_neg(float trust)
public ProbabilisticMimeDetectionSelector.Builder extension_neg(float trust)
public ProbabilisticMimeDetectionSelector.Builder meta_neg(float trust)
public ProbabilisticMimeDetectionSelector.Builder threshold(float threshold)
public ProbabilisticMimeDetectionSelector build2()
Copyright © 2007–1969 The Apache Software Foundation. All rights reserved.