Class EUCJPProber
java.lang.Object
org.mozilla.universalchardet.prober.CharsetProber
org.mozilla.universalchardet.prober.EUCJPProber
-
Nested Class Summary
Nested classes/interfaces inherited from class org.mozilla.universalchardet.prober.CharsetProber
CharsetProber.ProbingState
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final CodingStateMachine
private final EUCJPContextAnalysis
private final EUCJPDistributionAnalysis
private final byte[]
private static final SMModel
private CharsetProber.ProbingState
Fields inherited from class org.mozilla.universalchardet.prober.CharsetProber
ASCII_A, ASCII_A_CAPITAL, ASCII_GT, ASCII_LT, ASCII_SP, ASCII_Z, ASCII_Z_CAPITAL, SHORTCUT_THRESHOLD
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfloat
getState()
handleData
(byte[] buf, int offset, int length) void
reset()
void
Methods inherited from class org.mozilla.universalchardet.prober.CharsetProber
filterWithEnglishLetters, filterWithoutEnglishLetters
-
Field Details
-
codingSM
-
state
-
contextAnalyzer
-
distributionAnalyzer
-
lastChar
private final byte[] lastChar -
smModel
-
-
Constructor Details
-
EUCJPProber
EUCJPProber()
-
-
Method Details
-
getCharSetName
- Specified by:
getCharSetName
in classCharsetProber
-
getConfidence
public float getConfidence()- Specified by:
getConfidence
in classCharsetProber
-
getState
- Specified by:
getState
in classCharsetProber
-
handleData
- Specified by:
handleData
in classCharsetProber
-
reset
public void reset()- Specified by:
reset
in classCharsetProber
-
setOption
public void setOption()- Specified by:
setOption
in classCharsetProber
-