Class EUCKRProber
- java.lang.Object
-
- org.mozilla.universalchardet.prober.CharsetProber
-
- org.mozilla.universalchardet.prober.EUCKRProber
-
class EUCKRProber extends CharsetProber
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.mozilla.universalchardet.prober.CharsetProber
CharsetProber.ProbingState
-
-
Field Summary
Fields Modifier and Type Field Description private CodingStateMachinecodingSMprivate EUCKRDistributionAnalysisdistributionAnalyzerprivate byte[]lastCharprivate static SMModelsmModelprivate CharsetProber.ProbingStatestate-
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 Constructor Description EUCKRProber()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetCharSetName()floatgetConfidence()CharsetProber.ProbingStategetState()CharsetProber.ProbingStatehandleData(byte[] buf, int offset, int length)voidreset()voidsetOption()-
Methods inherited from class org.mozilla.universalchardet.prober.CharsetProber
filterWithEnglishLetters, filterWithoutEnglishLetters
-
-
-
-
Field Detail
-
codingSM
private final CodingStateMachine codingSM
-
state
private CharsetProber.ProbingState state
-
distributionAnalyzer
private final EUCKRDistributionAnalysis distributionAnalyzer
-
lastChar
private final byte[] lastChar
-
smModel
private static final SMModel smModel
-
-
Method Detail
-
getCharSetName
public java.lang.String getCharSetName()
- Specified by:
getCharSetNamein classCharsetProber
-
getConfidence
public float getConfidence()
- Specified by:
getConfidencein classCharsetProber
-
getState
public CharsetProber.ProbingState getState()
- Specified by:
getStatein classCharsetProber
-
handleData
public CharsetProber.ProbingState handleData(byte[] buf, int offset, int length)
- Specified by:
handleDatain classCharsetProber
-
reset
public void reset()
- Specified by:
resetin classCharsetProber
-
setOption
public void setOption()
- Specified by:
setOptionin classCharsetProber
-
-