public class Latin1Prober extends CharsetProber
CharsetProber.ProbingState
Modifier and Type | Field and 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 |
ASCII_A, ASCII_A_CAPITAL, ASCII_GT, ASCII_LT, ASCII_SP, ASCII_Z, ASCII_Z_CAPITAL, SHORTCUT_THRESHOLD
Constructor and Description |
---|
Latin1Prober() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getCharSetName() |
float |
getConfidence() |
CharsetProber.ProbingState |
getState() |
CharsetProber.ProbingState |
handleData(byte[] buf,
int offset,
int length) |
void |
reset() |
void |
setOption() |
filterWithEnglishLetters, filterWithoutEnglishLetters
public static final byte UDF
public static final byte OTH
public static final byte ASC
public static final byte ASS
public static final byte ACV
public static final byte ACO
public static final byte ASV
public static final byte ASO
public static final int CLASS_NUM
public static final int FREQ_CAT_NUM
public java.lang.String getCharSetName()
getCharSetName
in class CharsetProber
public float getConfidence()
getConfidence
in class CharsetProber
public CharsetProber.ProbingState getState()
getState
in class CharsetProber
public CharsetProber.ProbingState handleData(byte[] buf, int offset, int length)
handleData
in class CharsetProber
public void reset()
reset
in class CharsetProber
public void setOption()
setOption
in class CharsetProber
Copyright © 2023. All rights reserved