|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.ajaest.data.kanji.KanjiTag
public class KanjiTag
Inmutable class that stores some different informations about a kanji
Field Summary | |
---|---|
protected java.lang.Integer |
classicRadical
|
protected java.util.Set<DicReferencePair> |
dicReferences
|
protected java.lang.Integer |
frequency
|
protected java.lang.Integer |
grade
|
protected KanjiGraph |
graph
|
protected JISPair |
jisCode
|
protected java.lang.Integer |
JLPTLevel
|
protected java.util.Set<MeaningEntry> |
meanings
|
protected java.lang.Integer |
nelsonRadical
|
protected KanjiQueryCodes |
queryCodes
|
protected java.util.Set<ReadingEntry> |
readings
|
private static long |
serialVersionUID
|
protected java.lang.Integer |
strokeCount
|
protected java.util.Set<java.lang.Integer> |
strokeMiscounts
|
protected java.lang.Integer |
unicode
|
protected java.util.Set<VariantPair> |
variants
|
Constructor Summary | |
---|---|
protected |
KanjiTag()
|
Method Summary | |
---|---|
int |
compareTo(KanjiTag o)
Compares this kanji and another kanji by their's unicode value |
boolean |
equals(java.lang.Object obj)
|
java.lang.String |
FormattedDescriptionString()
Returns a predefined formatted string with all the information about this Kanji |
java.lang.Integer |
getClassicRadical()
|
java.util.Set<DicReferencePair> |
getDicReferences()
|
java.lang.Integer |
getFrequency()
|
java.lang.Integer |
getGrade()
|
KanjiGraph |
getGraph()
|
JISPair |
getJisCode()
Returns the jis code information stored in a JISCode object where
first() represents the codification (e.g "jis208" ) and
second() represents the jis code (e.g "16-2" ). |
java.lang.Integer |
getJLPTLevel()
|
java.util.Set<MeaningEntry> |
getMeanings()
|
java.lang.Integer |
getNelsonRadical()
|
KanjiQueryCodes |
getQueryCodes()
|
java.util.Set<ReadingEntry> |
getReadings()
|
java.lang.Integer |
getStrokeCount()
|
java.util.Set<java.lang.Integer> |
getStrokeMiscounts()
|
java.lang.Integer |
getUnicode()
|
java.util.Set<VariantPair> |
getVariants()
|
int |
hashCode()
|
static boolean |
isKanji(java.lang.Integer unicodeValue)
|
static java.lang.String |
kanaToRomaji(java.lang.String s)
Converts the input kana string into romaji string. |
static void |
main(java.lang.String... args)
|
char[] |
toChar()
|
KanjiTag |
toRomaji()
Returns a copy of the current kanji in which all kana kanji in readings has been translated into romaji. |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
private static final long serialVersionUID
protected java.lang.Integer unicode
protected JISPair jisCode
protected java.lang.Integer classicRadical
protected java.lang.Integer nelsonRadical
protected java.lang.Integer grade
protected java.lang.Integer strokeCount
protected java.util.Set<java.lang.Integer> strokeMiscounts
protected java.util.Set<VariantPair> variants
protected java.lang.Integer frequency
protected java.lang.Integer JLPTLevel
protected java.util.Set<DicReferencePair> dicReferences
protected java.util.Set<ReadingEntry> readings
protected java.util.Set<MeaningEntry> meanings
protected KanjiQueryCodes queryCodes
protected KanjiGraph graph
Constructor Detail |
---|
protected KanjiTag()
Method Detail |
---|
public static final boolean isKanji(java.lang.Integer unicodeValue)
public static final java.lang.String kanaToRomaji(java.lang.String s)
s
- kana string
public int compareTo(KanjiTag o)
compareTo
in interface java.lang.Comparable<KanjiTag>
o
- Kanji
object to be compared with
this.getUnicodeValue().compareTo(anotherKanji.getUnicodeValue())
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public java.lang.String FormattedDescriptionString()
String
with all info about the kanji.public java.lang.Integer getClassicRadical()
public java.util.Set<DicReferencePair> getDicReferences()
public java.lang.Integer getFrequency()
public java.lang.Integer getGrade()
public KanjiGraph getGraph()
public JISPair getJisCode()
JISCode
object where
first()
represents the codification (e.g "jis208"
) and
second()
represents the jis code (e.g "16-2"
).
JISPair
representing a JIS code.public java.lang.Integer getJLPTLevel()
public java.util.Set<MeaningEntry> getMeanings()
public java.lang.Integer getNelsonRadical()
public KanjiQueryCodes getQueryCodes()
public java.util.Set<ReadingEntry> getReadings()
public java.lang.Integer getStrokeCount()
public java.util.Set<java.lang.Integer> getStrokeMiscounts()
public java.lang.Integer getUnicode()
public java.util.Set<VariantPair> getVariants()
public int hashCode()
hashCode
in class java.lang.Object
public char[] toChar()
public final KanjiTag toRomaji()
public java.lang.String toString()
toString
in class java.lang.Object
public static void main(java.lang.String... args) throws java.io.IOException
java.io.IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |