org.mozilla.universalchardet.prober
Class SingleByteCharsetProber
java.lang.Object
org.mozilla.universalchardet.prober.CharsetProber
org.mozilla.universalchardet.prober.SingleByteCharsetProber
public class SingleByteCharsetProber
- extends CharsetProber
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SAMPLE_SIZE
public static final int SAMPLE_SIZE
- See Also:
- Constant Field Values
SB_ENOUGH_REL_THRESHOLD
public static final int SB_ENOUGH_REL_THRESHOLD
- See Also:
- Constant Field Values
POSITIVE_SHORTCUT_THRESHOLD
public static final float POSITIVE_SHORTCUT_THRESHOLD
- See Also:
- Constant Field Values
NEGATIVE_SHORTCUT_THRESHOLD
public static final float NEGATIVE_SHORTCUT_THRESHOLD
- See Also:
- Constant Field Values
SYMBOL_CAT_ORDER
public static final int SYMBOL_CAT_ORDER
- See Also:
- Constant Field Values
NUMBER_OF_SEQ_CAT
public static final int NUMBER_OF_SEQ_CAT
- See Also:
- Constant Field Values
POSITIVE_CAT
public static final int POSITIVE_CAT
- See Also:
- Constant Field Values
NEGATIVE_CAT
public static final int NEGATIVE_CAT
- See Also:
- Constant Field Values
SingleByteCharsetProber
public SingleByteCharsetProber(SequenceModel model)
SingleByteCharsetProber
public SingleByteCharsetProber(SequenceModel model,
boolean reversed,
CharsetProber nameProber)
getCharSetName
public java.lang.String getCharSetName()
- Specified by:
getCharSetName
in class CharsetProber
getConfidence
public float getConfidence()
- Specified by:
getConfidence
in class CharsetProber
getState
public CharsetProber.ProbingState getState()
- Specified by:
getState
in class CharsetProber
handleData
public CharsetProber.ProbingState handleData(byte[] buf,
int offset,
int length)
- Specified by:
handleData
in class CharsetProber
reset
public void reset()
- Specified by:
reset
in class CharsetProber
setOption
public void setOption()
- Specified by:
setOption
in class CharsetProber
Copyright © 2013. All Rights Reserved.