|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.exoplatform.services.chars.chardet.PSMDetector
org.exoplatform.services.chars.chardet.Detector
public class Detector
| Field Summary |
|---|
| Fields inherited from class org.exoplatform.services.chars.chardet.PSMDetector |
|---|
ALL, CHINESE, JAPANESE, KOREAN, MAX_VERIFIERS, NO_OF_LANGUAGES, SIMPLIFIED_CHINESE, TRADITIONAL_CHINESE |
| Constructor Summary | |
|---|---|
Detector()
|
|
Detector(int langFlag)
|
|
| Method Summary | |
|---|---|
boolean |
doIt(byte[] aBuf,
int aLen,
boolean oDontFeedMe)
|
void |
done()
|
void |
init(ICharsetDetectionObserver aObserver)
|
boolean |
isAscii(byte[] aBuf,
int aLen)
|
void |
report(java.lang.String charset)
|
| Methods inherited from class org.exoplatform.services.chars.chardet.PSMDetector |
|---|
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 |
| Constructor Detail |
|---|
public Detector()
public Detector(int langFlag)
| Method Detail |
|---|
public void init(ICharsetDetectionObserver aObserver)
init in interface ICharsetDetector
public boolean doIt(byte[] aBuf,
int aLen,
boolean oDontFeedMe)
doIt in interface ICharsetDetectorpublic void done()
done in interface ICharsetDetectorpublic void report(java.lang.String charset)
report in class PSMDetector
public boolean isAscii(byte[] aBuf,
int aLen)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||