public class nsDetector extends nsPSMDetector implements nsICharsetDetector
ALL, CHINESE, JAPANESE, KOREAN, MAX_VERIFIERS, NO_OF_LANGUAGES, SIMPLIFIED_CHINESE, TRADITIONAL_CHINESE| 构造器和说明 |
|---|
nsDetector() |
nsDetector(int langFlag) |
| 限定符和类型 | 方法和说明 |
|---|---|
boolean |
DoIt(byte[] aBuf,
int aLen,
boolean oDontFeedMe) |
void |
Done() |
void |
Init(nsICharsetDetectionObserver aObserver) |
boolean |
isAscii(byte[] aBuf,
int aLen) |
void |
Report(java.lang.String charset) |
DataEnd, getProbableCharsets, HandleData, initVerifiers, Reset, Sample, Samplepublic void Init(nsICharsetDetectionObserver aObserver)
Init 在接口中 nsICharsetDetectorpublic boolean DoIt(byte[] aBuf,
int aLen,
boolean oDontFeedMe)
DoIt 在接口中 nsICharsetDetectorpublic void Done()
Done 在接口中 nsICharsetDetectorpublic void Report(java.lang.String charset)
Report 在类中 nsPSMDetectorpublic boolean isAscii(byte[] aBuf,
int aLen)