|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--net.sourceforge.wohenchan.convert.CedictEntry
This class is the store unit for Cedict dictionary entry.
Field Summary | |
private java.lang.String |
englishDefinition
The Chinese word and English definition have 1-to-1 mapping. |
private java.lang.String |
m_chinese
|
private java.lang.String |
m_source
|
private java.lang.String |
pinyin
|
Constructor Summary | |
CedictEntry()
|
|
CedictEntry(java.lang.String chinese,
java.lang.String pinyinIn,
java.lang.String englishIn,
java.lang.String source)
|
Method Summary | |
java.lang.String |
getChinese()
Gets the unicode character string for this entry. |
java.lang.String |
getEnglishDefinition()
Gets the English Definition for this character. |
java.lang.String |
getPinyin()
Gets the Pinyin for this entry. |
java.lang.String |
getSource()
Gets the source dictionary where this entry came from. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
private java.lang.String m_chinese
private java.lang.String pinyin
private java.lang.String englishDefinition
private java.lang.String m_source
Constructor Detail |
public CedictEntry()
public CedictEntry(java.lang.String chinese, java.lang.String pinyinIn, java.lang.String englishIn, java.lang.String source)
Method Detail |
public java.lang.String getPinyin()
ConverterEntryInterface
getPinyin
in interface ConverterEntryInterface
public java.lang.String getEnglishDefinition()
ConverterEntryInterface
getEnglishDefinition
in interface ConverterEntryInterface
public java.lang.String getChinese() throws UnknownOutputException
ConverterEntryInterface
getChinese
in interface ConverterEntryInterface
UnknownOutputException
- if the particular dictionary
or character table does have unicode information.public java.lang.String getSource()
ConverterEntryInterface
getSource
in interface ConverterEntryInterface
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |