org.exoplatform.services.chars.chardet
Class PSMDetector
java.lang.Object
org.exoplatform.services.chars.chardet.PSMDetector
- Direct Known Subclasses:
- Detector
public abstract class PSMDetector
- extends java.lang.Object
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ALL
public static final int ALL
- See Also:
- Constant Field Values
JAPANESE
public static final int JAPANESE
- See Also:
- Constant Field Values
CHINESE
public static final int CHINESE
- See Also:
- Constant Field Values
SIMPLIFIED_CHINESE
public static final int SIMPLIFIED_CHINESE
- See Also:
- Constant Field Values
TRADITIONAL_CHINESE
public static final int TRADITIONAL_CHINESE
- See Also:
- Constant Field Values
KOREAN
public static final int KOREAN
- See Also:
- Constant Field Values
NO_OF_LANGUAGES
public static final int NO_OF_LANGUAGES
- See Also:
- Constant Field Values
MAX_VERIFIERS
public static final int MAX_VERIFIERS
- See Also:
- Constant Field Values
PSMDetector
public PSMDetector()
PSMDetector
public PSMDetector(int langFlag)
PSMDetector
public PSMDetector(int aItems,
Verifier[] aVerifierSet,
EUCStatistics[] aStatisticsSet)
Reset
public void Reset()
initVerifiers
protected void initVerifiers(int currVerSet)
report
public abstract void report(java.lang.String charset)
handleData
public boolean handleData(byte[] aBuf,
int len)
dataEnd
public void dataEnd()
Sample
public void Sample(byte[] aBuf,
int aLen)
Sample
public void Sample(byte[] aBuf,
int aLen,
boolean aLastChance)
getProbableCharsets
public java.lang.String[] getProbableCharsets()
Copyright © 2011 eXo Platform SAS. All Rights Reserved.