org.mozilla.universalchardet.prober
Class CharsetProber
java.lang.Object
org.mozilla.universalchardet.prober.CharsetProber
- Direct Known Subclasses:
- Big5Prober, EscCharsetProber, EUCJPProber, EUCKRProber, EUCTWProber, GB18030Prober, HebrewProber, Latin1Prober, MBCSGroupProber, SBCSGroupProber, SingleByteCharsetProber, SJISProber, UTF8Prober
public abstract class CharsetProber
- extends java.lang.Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SHORTCUT_THRESHOLD
public static final float SHORTCUT_THRESHOLD
- See Also:
- Constant Field Values
ASCII_A
public static final int ASCII_A
- See Also:
- Constant Field Values
ASCII_Z
public static final int ASCII_Z
- See Also:
- Constant Field Values
ASCII_A_CAPITAL
public static final int ASCII_A_CAPITAL
- See Also:
- Constant Field Values
ASCII_Z_CAPITAL
public static final int ASCII_Z_CAPITAL
- See Also:
- Constant Field Values
ASCII_LT
public static final int ASCII_LT
- See Also:
- Constant Field Values
ASCII_GT
public static final int ASCII_GT
- See Also:
- Constant Field Values
ASCII_SP
public static final int ASCII_SP
- See Also:
- Constant Field Values
CharsetProber
public CharsetProber()
getCharSetName
public abstract java.lang.String getCharSetName()
handleData
public abstract CharsetProber.ProbingState handleData(byte[] buf,
int offset,
int length)
getState
public abstract CharsetProber.ProbingState getState()
reset
public abstract void reset()
getConfidence
public abstract float getConfidence()
setOption
public abstract void setOption()
filterWithoutEnglishLetters
public java.nio.ByteBuffer filterWithoutEnglishLetters(byte[] buf,
int offset,
int length)
filterWithEnglishLetters
public java.nio.ByteBuffer filterWithEnglishLetters(byte[] buf,
int offset,
int length)
Copyright © 2013. All Rights Reserved.