|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.mozilla.universalchardet.prober.CharsetProber
org.mozilla.universalchardet.prober.UTF8Prober
public class UTF8Prober
Nested Class Summary |
---|
Nested classes/interfaces inherited from class org.mozilla.universalchardet.prober.CharsetProber |
---|
CharsetProber.ProbingState |
Field Summary | |
---|---|
static float |
ONE_CHAR_PROB
|
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 | |
---|---|
UTF8Prober()
|
Method Summary | |
---|---|
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 |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final float ONE_CHAR_PROB
Constructor Detail |
---|
public UTF8Prober()
Method Detail |
---|
public java.lang.String getCharSetName()
getCharSetName
in class CharsetProber
public CharsetProber.ProbingState handleData(byte[] buf, int offset, int length)
handleData
in class CharsetProber
public CharsetProber.ProbingState getState()
getState
in class CharsetProber
public void reset()
reset
in class CharsetProber
public float getConfidence()
getConfidence
in class CharsetProber
public void setOption()
setOption
in class CharsetProber
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |