public class nsDetector extends nsPSMDetector implements nsICharsetDetector
ALL, CHINESE, JAPANESE, KOREAN, MAX_VERIFIERS, NO_OF_LANGUAGES, SIMPLIFIED_CHINESE, TRADITIONAL_CHINESE| Constructor and Description |
|---|
nsDetector() |
nsDetector(int langFlag) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
DoIt(byte[] aBuf,
int aLen,
boolean oDontFeedMe) |
void |
Done() |
void |
Init(nsICharsetDetectionObserver aObserver) |
boolean |
isAscii(byte[] aBuf,
int aLen) |
void |
Report(String charset) |
DataEnd, getProbableCharsets, HandleData, initVerifiers, Reset, Sample, Samplepublic void Init(nsICharsetDetectionObserver aObserver)
Init in interface nsICharsetDetectorpublic boolean DoIt(byte[] aBuf,
int aLen,
boolean oDontFeedMe)
DoIt in interface nsICharsetDetectorpublic void Done()
Done in interface nsICharsetDetectorpublic void Report(String charset)
Report in class nsPSMDetectorpublic boolean isAscii(byte[] aBuf,
int aLen)
Copyright © 2017. All Rights Reserved.