Class HebrewProber
- java.lang.Object
-
- org.mozilla.universalchardet.prober.CharsetProber
-
- org.mozilla.universalchardet.prober.HebrewProber
-
public class HebrewProber 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 int
FINAL_KAF
static int
FINAL_MEM
static int
FINAL_NUN
static int
FINAL_PE
static int
FINAL_TSADI
static int
MIN_FINAL_CHAR_DISTANCE
static float
MIN_MODEL_DISTANCE
static int
NORMAL_KAF
static int
NORMAL_MEM
static int
NORMAL_NUN
static int
NORMAL_PE
static int
NORMAL_TSADI
static byte
SPACE
-
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 HebrewProber()
-
Method Summary
All Methods Static 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)
protected static boolean
isFinal(byte b)
protected static boolean
isNonFinal(byte b)
void
reset()
void
setModalProbers(CharsetProber logicalProber, CharsetProber visualProber)
void
setOption()
-
Methods inherited from class org.mozilla.universalchardet.prober.CharsetProber
filterWithEnglishLetters, filterWithoutEnglishLetters
-
-
-
-
Field Detail
-
FINAL_KAF
public static final int FINAL_KAF
- See Also:
- Constant Field Values
-
NORMAL_KAF
public static final int NORMAL_KAF
- See Also:
- Constant Field Values
-
FINAL_MEM
public static final int FINAL_MEM
- See Also:
- Constant Field Values
-
NORMAL_MEM
public static final int NORMAL_MEM
- See Also:
- Constant Field Values
-
FINAL_NUN
public static final int FINAL_NUN
- See Also:
- Constant Field Values
-
NORMAL_NUN
public static final int NORMAL_NUN
- See Also:
- Constant Field Values
-
FINAL_PE
public static final int FINAL_PE
- See Also:
- Constant Field Values
-
NORMAL_PE
public static final int NORMAL_PE
- See Also:
- Constant Field Values
-
FINAL_TSADI
public static final int FINAL_TSADI
- See Also:
- Constant Field Values
-
NORMAL_TSADI
public static final int NORMAL_TSADI
- See Also:
- Constant Field Values
-
SPACE
public static final byte SPACE
- See Also:
- Constant Field Values
-
MIN_FINAL_CHAR_DISTANCE
public static final int MIN_FINAL_CHAR_DISTANCE
- See Also:
- Constant Field Values
-
MIN_MODEL_DISTANCE
public static final float MIN_MODEL_DISTANCE
- See Also:
- Constant Field Values
-
-
Method Detail
-
setModalProbers
public void setModalProbers(CharsetProber logicalProber, CharsetProber visualProber)
-
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
-
isFinal
protected static boolean isFinal(byte b)
-
isNonFinal
protected static boolean isNonFinal(byte b)
-
-