public class UTF8Prober extends CharsetProber
CharsetProber.ProbingState| Modifier and Type | Field and Description |
|---|---|
static float |
ONE_CHAR_PROB |
ASCII_A, ASCII_A_CAPITAL, ASCII_GT, ASCII_LT, ASCII_SP, ASCII_Z, ASCII_Z_CAPITAL, SHORTCUT_THRESHOLD| Constructor and Description |
|---|
UTF8Prober() |
| Modifier and Type | Method and Description |
|---|---|
String |
getCharSetName() |
float |
getConfidence() |
CharsetProber.ProbingState |
getState() |
CharsetProber.ProbingState |
handleData(byte[] buf,
int offset,
int length) |
void |
reset() |
void |
setOption() |
filterWithEnglishLetters, filterWithoutEnglishLetters, isActive, setActivepublic static final float ONE_CHAR_PROB
public String getCharSetName()
getCharSetName in class CharsetProberpublic CharsetProber.ProbingState handleData(byte[] buf, int offset, int length)
handleData in class CharsetProberpublic CharsetProber.ProbingState getState()
getState in class CharsetProberpublic final void reset()
reset in class CharsetProberpublic float getConfidence()
getConfidence in class CharsetProberpublic void setOption()
setOption in class CharsetProberCopyright © 2020. All rights reserved.