Class GB18030Prober
java.lang.Object
org.mozilla.universalchardet.prober.CharsetProber
org.mozilla.universalchardet.prober.GB18030Prober
-
Nested Class Summary
Nested classes/interfaces inherited from class CharsetProber
CharsetProber.ProbingState -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final CodingStateMachine/////////////////////////////////////////////////////////////private final GB2312DistributionAnalysisprivate final byte[]private static final SMModelprivate CharsetProber.ProbingStateFields inherited from class CharsetProber
ASCII_A, ASCII_A_CAPITAL, ASCII_GT, ASCII_LT, ASCII_SP, ASCII_Z, ASCII_Z_CAPITAL, SHORTCUT_THRESHOLD -
Constructor Summary
ConstructorsConstructorDescription///////////////////////////////////////////////////////////// -
Method Summary
Modifier and TypeMethodDescription/////////////////////////////////////////////////////////////floatgetState()handleData(byte[] buf, int offset, int length) voidreset()voidMethods inherited from class CharsetProber
filterWithEnglishLetters, filterWithoutEnglishLetters
-
Field Details
-
codingSM
///////////////////////////////////////////////////////////// -
state
-
distributionAnalyzer
-
lastChar
private final byte[] lastChar -
smModel
-
-
Constructor Details
-
GB18030Prober
GB18030Prober()/////////////////////////////////////////////////////////////
-
-
Method Details
-
getCharSetName
Description copied from class:CharsetProber/////////////////////////////////////////////////////////////- Specified by:
getCharSetNamein classCharsetProber
-
getConfidence
public float getConfidence()- Specified by:
getConfidencein classCharsetProber
-
getState
- Specified by:
getStatein classCharsetProber
-
handleData
- Specified by:
handleDatain classCharsetProber
-
reset
public void reset()- Specified by:
resetin classCharsetProber
-
setOption
public void setOption()- Specified by:
setOptionin classCharsetProber
-