|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--net.sourceforge.wohenchan.encoding.HtmlEntity
〹 html entity notation
| Field Summary | |
static java.lang.String |
CANONICAL
|
(package private) static HtmlEntity |
s_singleton
|
| Fields inherited from interface net.sourceforge.wohenchan.encoding.LanguageInfoInterface |
ALL_ENCODINGS |
| Constructor Summary | |
private |
HtmlEntity()
|
| Method Summary | |
java.lang.String |
getCanonicalString()
|
static HtmlEntity |
getInstance()
|
int |
getProbability(byte[] input)
The current implementation of this detection algorithm sucks. |
boolean |
isCharacterInLanguage(char ch)
Returns true if ch is in the language, or false if it is not. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public static final java.lang.String CANONICAL
static final HtmlEntity s_singleton
| Constructor Detail |
private HtmlEntity()
| Method Detail |
public static HtmlEntity getInstance()
public java.lang.String getCanonicalString()
getCanonicalString in interface LanguageInfoInterfacepublic int getProbability(byte[] input)
public boolean isCharacterInLanguage(char ch)
LanguageInfoInterface
isCharacterInLanguage in interface LanguageInfoInterface
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||