Class Latin1Prober
- java.lang.Object
-
- org.mozilla.universalchardet.prober.CharsetProber
-
- org.mozilla.universalchardet.prober.Latin1Prober
-
public class Latin1Prober 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 static byte
ACO
static byte
ACV
static byte
ASC
static byte
ASO
static byte
ASS
static byte
ASV
static int
CLASS_NUM
static int
FREQ_CAT_NUM
static byte
OTH
static byte
UDF
-
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 Latin1Prober()
-
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
-
UDF
public static final byte UDF
- See Also:
- Constant Field Values
-
OTH
public static final byte OTH
- See Also:
- Constant Field Values
-
ASC
public static final byte ASC
- See Also:
- Constant Field Values
-
ASS
public static final byte ASS
- See Also:
- Constant Field Values
-
ACV
public static final byte ACV
- See Also:
- Constant Field Values
-
ACO
public static final byte ACO
- See Also:
- Constant Field Values
-
ASV
public static final byte ASV
- See Also:
- Constant Field Values
-
ASO
public static final byte ASO
- See Also:
- Constant Field Values
-
CLASS_NUM
public static final int CLASS_NUM
- See Also:
- Constant Field Values
-
FREQ_CAT_NUM
public static final int FREQ_CAT_NUM
- See Also:
- Constant Field Values
-
-
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
-
-