java.lang.Object
org.glavo.chardet.prober.statemachine.SMModel
- 直接已知子类:
Big5SMModel,EUCJPSMModel,EUCKRSMModel,EUCTWSMModel,GB18030SMModel,HZSMModel,ISO2022CNSMModel,ISO2022JPSMModel,ISO2022KRSMModel,SJISSMModel,UCS2BESMModel,UTF8SMModel
-
字段概要
字段修饰符和类型字段说明protected int[]protected DetectedCharsetprotected intprotected PkgIntstatic final intstatic final intstatic final intprotected PkgInt -
构造器概要
构造器构造器说明SMModel(PkgInt classTable, int classFactor, PkgInt stateTable, int[] charLenTable, DetectedCharset charset) -
方法概要
修饰符和类型方法说明intgetCharLen(int cls) intgetClass(byte b) intgetNextState(int cls, int currentState)
-
字段详细资料
-
START
public static final int START- 另请参阅:
-
ERROR
public static final int ERROR- 另请参阅:
-
ITSME
public static final int ITSME- 另请参阅:
-
classTable
-
classFactor
protected int classFactor -
stateTable
-
charLenTable
protected int[] charLenTable -
charset
-
-
构造器详细资料
-
SMModel
public SMModel(PkgInt classTable, int classFactor, PkgInt stateTable, int[] charLenTable, DetectedCharset charset)
-
-
方法详细资料
-
getClass
public int getClass(byte b) -
getNextState
public int getNextState(int cls, int currentState) -
getCharLen
public int getCharLen(int cls) -
getCharset
-