Package org.mozilla.intl.chardet
Class nsDetector
java.lang.Object
org.mozilla.intl.chardet.nsPSMDetector
org.mozilla.intl.chardet.nsDetector
- All Implemented Interfaces:
nsICharsetDetector
-
Field Summary
Fields inherited from class org.mozilla.intl.chardet.nsPSMDetector
ALL, CHINESE, JAPANESE, KOREAN, MAX_VERIFIERS, NO_OF_LANGUAGES, SIMPLIFIED_CHINESE, TRADITIONAL_CHINESE
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.mozilla.intl.chardet.nsPSMDetector
DataEnd, getProbableCharsets, HandleData, initVerifiers, Reset, Sample, Sample
-
Constructor Details
-
nsDetector
public nsDetector() -
nsDetector
public nsDetector(int langFlag)
-
-
Method Details
-
Init
- Specified by:
Init
in interfacensICharsetDetector
-
DoIt
public boolean DoIt(byte[] aBuf, int aLen, boolean oDontFeedMe) - Specified by:
DoIt
in interfacensICharsetDetector
-
Done
public void Done()- Specified by:
Done
in interfacensICharsetDetector
-
Report
- Specified by:
Report
in classnsPSMDetector
-
isAscii
public boolean isAscii(byte[] aBuf, int aLen)
-