Class MBCSGroupProber
java.lang.Object
org.mozilla.universalchardet.prober.CharsetProber
org.mozilla.universalchardet.prober.MBCSGroupProber
Sonda para MBCS.
-
Nested Class Summary
Nested classes/interfaces inherited from class CharsetProber
CharsetProber.ProbingState -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate intprivate intprivate final boolean[]private final CharsetProber[]private CharsetProber.ProbingState/////////////////////////////////////////////////////////////Fields inherited from class 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 TypeMethodDescription/////////////////////////////////////////////////////////////floatgetState()handleData(byte[] buf, int offset, int length) voidreset()voidMethods inherited from class CharsetProber
filterWithEnglishLetters, filterWithoutEnglishLetters
-
Field Details
-
state
///////////////////////////////////////////////////////////// -
probers
-
isActive
private final boolean[] isActive -
bestGuess
private int bestGuess -
activeNum
private int activeNum
-
-
Constructor Details
-
MBCSGroupProber
public MBCSGroupProber()Construye una sonda para MBCS.
-
-
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
-