Class Latin1Prober
java.lang.Object
org.mozilla.universalchardet.prober.CharsetProber
org.mozilla.universalchardet.prober.Latin1Prober
-
Nested Class Summary
Nested classes/interfaces inherited from class org.mozilla.universalchardet.prober.CharsetProber
CharsetProber.ProbingState
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final byte
static final byte
static final byte
static final byte
static final byte
static final byte
static final int
static final int
private int[]
private byte
private static final byte[]
private static final byte[]
static final byte
private CharsetProber.ProbingState
static final byte
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) final void
reset()
void
Methods inherited from class org.mozilla.universalchardet.prober.CharsetProber
filterWithEnglishLetters, filterWithoutEnglishLetters, isActive, setActive
-
Field Details
-
UDF
public static final byte UDF- See Also:
-
OTH
public static final byte OTH- See Also:
-
ASC
public static final byte ASC- See Also:
-
ASS
public static final byte ASS- See Also:
-
ACV
public static final byte ACV- See Also:
-
ACO
public static final byte ACO- See Also:
-
ASV
public static final byte ASV- See Also:
-
ASO
public static final byte ASO- See Also:
-
CLASS_NUM
public static final int CLASS_NUM- See Also:
-
FREQ_CAT_NUM
public static final int FREQ_CAT_NUM- See Also:
-
latin1CharToClass
private static final byte[] latin1CharToClass -
latin1ClassModel
private static final byte[] latin1ClassModel -
state
-
lastCharClass
private byte lastCharClass -
freqCounter
private int[] freqCounter
-
-
Constructor Details
-
Latin1Prober
public Latin1Prober()
-
-
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 final void reset()- Specified by:
reset
in classCharsetProber
-
setOption
public void setOption()- Specified by:
setOption
in classCharsetProber
-