|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Represents one entry in a dictionary/encoding table/etc. In the future, it might be a good idea to add other methods, for the animated gifs found at ocrat.com, or the synthesized pronunciations from bell labs.
Instances of this object are normalized. For instance, if I had a table with the following entry:
[ren3 shou4] /bear/endure/
this would be represented as two separate instances of ConverterEntryInterface:
Similarly, if I had the following entry:
U+53AD kMandarin 1 YAN4 2 YA1 3 YAN1
This would again be represented as separate instances (three) of ConverterEntryInterface:
ConverterTableInterface
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. |
Method Detail |
public java.lang.String getChinese() throws UnknownOutputException, NoRepresentationException
UnknownOutputException
- if the particular dictionary
or character table does have unicode information.
NoRepresentationException
- if there is no Unicode
representation for this character in this converter.public java.lang.String getEnglishDefinition() throws UnknownOutputException, NoRepresentationException
UnknownOutputException
- if the particular dictionary
or character table does not have english information
NoRepresentationException
- if there is no english
definition for this entry.public java.lang.String getPinyin() throws UnknownOutputException, NoRepresentationException
UnknownOutputException
- if the particular dictionary
or character table does not have pinyin information
NoRepresentationException
- if there is no pinyin
information for this entry.public java.lang.String getSource()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |