net.sourceforge.wohenchan.encoding
Class Pinyin

java.lang.Object
  |
  +--net.sourceforge.wohenchan.encoding.Pinyin
All Implemented Interfaces:
LanguageInfoInterface

public class Pinyin
extends java.lang.Object
implements LanguageInfoInterface

Pinyin language

Version:
$Name: $ $Date: 2003/06/22 17:44:44 $
Author:
$Author: wtanaka $

Field Summary
static java.lang.String CANONICAL
           
(package private) static Pinyin s_singleton
           
 
Fields inherited from interface net.sourceforge.wohenchan.encoding.LanguageInfoInterface
ALL_ENCODINGS
 
Constructor Summary
private Pinyin()
           
 
Method Summary
 java.lang.String getCanonicalString()
           
static Pinyin getInstance()
           
 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

CANONICAL

public static final java.lang.String CANONICAL
See Also:
Constant Field Values

s_singleton

static final Pinyin s_singleton
Constructor Detail

Pinyin

private Pinyin()
Method Detail

getInstance

public static Pinyin getInstance()

getCanonicalString

public java.lang.String getCanonicalString()
Specified by:
getCanonicalString in interface LanguageInfoInterface
Returns:
the canonical string describing this language.

isCharacterInLanguage

public boolean isCharacterInLanguage(char ch)
Description copied from interface: LanguageInfoInterface
Returns true if ch is in the language, or false if it is not.

Specified by:
isCharacterInLanguage in interface LanguageInfoInterface