org.mozilla.intl.chardet
Class nsDetector
java.lang.Object
org.mozilla.intl.chardet.nsPSMDetector
org.mozilla.intl.chardet.nsDetector
- All Implemented Interfaces:
- nsICharsetDetector
public class nsDetector
- extends nsPSMDetector
- implements nsICharsetDetector
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
nsDetector
public nsDetector()
nsDetector
public nsDetector(int langFlag)
Init
public void Init(nsICharsetDetectionObserver aObserver)
- Specified by:
Init
in interface nsICharsetDetector
DoIt
public boolean DoIt(byte[] aBuf,
int aLen,
boolean oDontFeedMe)
- Specified by:
DoIt
in interface nsICharsetDetector
Done
public void Done()
- Specified by:
Done
in interface nsICharsetDetector
Report
public void Report(String charset)
- Specified by:
Report
in class nsPSMDetector
isAscii
public boolean isAscii(byte[] aBuf,
int aLen)
Copyright © 2011. All Rights Reserved.