public abstract class CharsetProber
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
CharsetProber.ProbingState |
Modifier and Type | Field and Description |
---|---|
static int |
ASCII_A |
static int |
ASCII_A_CAPITAL |
static int |
ASCII_GT |
static int |
ASCII_LT |
static int |
ASCII_SP |
static int |
ASCII_Z |
static int |
ASCII_Z_CAPITAL |
static float |
SHORTCUT_THRESHOLD |
Constructor and Description |
---|
CharsetProber() |
Modifier and Type | Method and Description |
---|---|
java.nio.ByteBuffer |
filterWithEnglishLetters(byte[] buf,
int offset,
int length) |
java.nio.ByteBuffer |
filterWithoutEnglishLetters(byte[] buf,
int offset,
int length) |
abstract java.lang.String |
getCharSetName() |
abstract float |
getConfidence() |
abstract CharsetProber.ProbingState |
getState() |
abstract CharsetProber.ProbingState |
handleData(byte[] buf,
int offset,
int length) |
abstract void |
reset() |
abstract void |
setOption() |
public static final float SHORTCUT_THRESHOLD
public static final int ASCII_A
public static final int ASCII_Z
public static final int ASCII_A_CAPITAL
public static final int ASCII_Z_CAPITAL
public static final int ASCII_LT
public static final int ASCII_GT
public static final int ASCII_SP
public abstract java.lang.String getCharSetName()
public abstract CharsetProber.ProbingState handleData(byte[] buf, int offset, int length)
public abstract CharsetProber.ProbingState getState()
public abstract void reset()
public abstract float getConfidence()
public abstract void setOption()
public java.nio.ByteBuffer filterWithoutEnglishLetters(byte[] buf, int offset, int length)
public java.nio.ByteBuffer filterWithEnglishLetters(byte[] buf, int offset, int length)
Copyright © 2014. All rights reserved