Class EscCharsetProber
- java.lang.Object
-
- org.mozilla.universalchardet.prober.CharsetProber
-
- org.mozilla.universalchardet.prober.EscCharsetProber
-
public class EscCharsetProber extends CharsetProber
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
Fields Modifier and Type Field Description private int
activeSM
private CodingStateMachine[]
codingSM
private java.lang.String
detectedCharset
private static HZSMModel
hzsModel
private static ISO2022CNSMModel
iso2022cnModel
private static ISO2022JPSMModel
iso2022jpModel
private static ISO2022KRSMModel
iso2022krModel
private CharsetProber.ProbingState
state
-
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 EscCharsetProber()
Construye una sonda para el juego de carcateres ESC.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getCharSetName()
float
getConfidence()
CharsetProber.ProbingState
getState()
CharsetProber.ProbingState
handleData(byte[] buf, int offset, int length)
void
reset()
void
setOption()
-
Methods inherited from class org.mozilla.universalchardet.prober.CharsetProber
filterWithEnglishLetters, filterWithoutEnglishLetters
-
-
-
-
Field Detail
-
codingSM
private final CodingStateMachine[] codingSM
-
activeSM
private int activeSM
-
state
private CharsetProber.ProbingState state
-
detectedCharset
private java.lang.String detectedCharset
-
hzsModel
private static final HZSMModel hzsModel
-
iso2022cnModel
private static final ISO2022CNSMModel iso2022cnModel
-
iso2022jpModel
private static final ISO2022JPSMModel iso2022jpModel
-
iso2022krModel
private static final ISO2022KRSMModel iso2022krModel
-
-
Method Detail
-
getCharSetName
public java.lang.String getCharSetName()
- Specified by:
getCharSetName
in classCharsetProber
-
getConfidence
public float getConfidence()
- Specified by:
getConfidence
in classCharsetProber
-
getState
public CharsetProber.ProbingState getState()
- Specified by:
getState
in classCharsetProber
-
handleData
public CharsetProber.ProbingState handleData(byte[] buf, int offset, int length)
- Specified by:
handleData
in classCharsetProber
-
reset
public void reset()
- Specified by:
reset
in classCharsetProber
-
setOption
public void setOption()
- Specified by:
setOption
in classCharsetProber
-
-