Package org.apache.tika.detect
Class EncodingDetectorContext.Result
java.lang.Object
org.apache.tika.detect.EncodingDetectorContext.Result
- Enclosing class:
- EncodingDetectorContext
A single detector's contribution: its ranked list of candidates and its name.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionThe top-ranked charset from this detector.floatThe confidence of the top-ranked result from this detector.All ranked results from this detector, highest confidence first.TheEncodingResult.ResultTypeof the top-ranked result from this detector.toString()
-
Constructor Details
-
Result
-
-
Method Details
-
getEncodingResults
All ranked results from this detector, highest confidence first. -
getCharset
The top-ranked charset from this detector. -
getConfidence
public float getConfidence()The confidence of the top-ranked result from this detector. -
getResultType
TheEncodingResult.ResultTypeof the top-ranked result from this detector. -
getDetectorName
-
toString
-