|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.mozilla.intl.chardet.nsPSMDetector
org.mozilla.intl.chardet.nsDetector
public class nsDetector
Field Summary | |
---|---|
(package private) nsICharsetDetectionObserver |
mObserver
|
Fields inherited from class org.mozilla.intl.chardet.nsPSMDetector |
---|
ALL, CHINESE, JAPANESE, KOREAN, MAX_VERIFIERS, mClassItems, mClassRunSampler, mDone, mItemIdx, mItems, mRunSampler, mSampler, mState, mStatisticsData, mVerifier, NO_OF_LANGUAGES, SIMPLIFIED_CHINESE, TRADITIONAL_CHINESE |
Constructor Summary | |
---|---|
nsDetector()
|
|
nsDetector(int langFlag)
|
Method Summary | |
---|---|
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)
|
Methods inherited from class org.mozilla.intl.chardet.nsPSMDetector |
---|
DataEnd, getProbableCharsets, HandleData, initVerifiers, Reset, Sample, Sample |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
nsICharsetDetectionObserver mObserver
Constructor Detail |
---|
public nsDetector()
public nsDetector(int langFlag)
Method Detail |
---|
public void Init(nsICharsetDetectionObserver aObserver)
Init
in interface nsICharsetDetector
public boolean DoIt(byte[] aBuf, int aLen, boolean oDontFeedMe)
DoIt
in interface nsICharsetDetector
public void Done()
Done
in interface nsICharsetDetector
public void Report(java.lang.String charset)
Report
in class nsPSMDetector
public boolean isAscii(byte[] aBuf, int aLen)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |