Class EscCharsetProber
java.lang.Object
org.mozilla.universalchardet.prober.CharsetProber
org.mozilla.universalchardet.prober.EscCharsetProber
Sonda para el juego de carcateres ESC.
-
Nested Class Summary
Nested classes/interfaces inherited from class org.mozilla.universalchardet.prober.CharsetProber
CharsetProber.ProbingState
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate int
private final CodingStateMachine[]
private String
private static final HZSMModel
private static final ISO2022CNSMModel
private static final ISO2022JPSMModel
private static final ISO2022KRSMModel
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
-
activeSM
private int activeSM -
state
-
detectedCharset
-
hzsModel
-
iso2022cnModel
-
iso2022jpModel
-
iso2022krModel
-
-
Constructor Details
-
EscCharsetProber
public EscCharsetProber()Construye una sonda para el juego de carcateres ESC.
-
-
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
-