Modifier and Type | Field and Description |
---|---|
protected short |
bnum
The radical (bushu) number.
|
protected short |
cnum
The historical or classical radical number.
|
protected short |
frequency
The frequency-of-use ranking.
|
protected char |
kanji
Kanji of this entry.
|
protected String[] |
nanoriReadings
List of the nanori (name) readings of this entry.
|
static byte |
NOT_AVAILABLE
Value of a number field where no data is available in the dictionary file.
|
protected String |
radicalname
Name of the radical.
|
protected String[] |
readings
List of readings of this entry.
|
protected byte |
strokecount
Strokecount of this kanji.
|
protected String[] |
translations
List of translations of this entry.
|
Modifier | Constructor and Description |
---|---|
protected |
KanjiDic.Entry(char kanji,
String[] readings,
String[] nanoriReadings,
String radicalname,
String[] translations,
byte strokecount,
short bnum,
short cnum,
short frequency)
Creates a new entry with the given values.
|
protected |
KanjiDic.Entry(String dicline,
boolean extendedInformation)
Creates a new entry for a line in the dictionary file.
|
Modifier and Type | Method and Description |
---|---|
short |
getBNum()
Returns the radical (bushu) number.
|
short |
getCNum()
Returns the historical or classical radical number.
|
short |
getFrequency()
Returns the frequency-of-use ranking.
|
char |
getKanji()
Returns the kanji of this entry.
|
String[] |
getNanoriReadings()
Returns the list of the nanori (name) readings of this entry.
|
String |
getRadicalName()
Returns the name of the radical.
|
String[] |
getReadings()
Returns the list of readings of this entry.
|
byte |
getStrokecount()
Returns the strokecount of this kanji.
|
String[] |
getTranslations()
Returns the list of translations of this entry.
|
public static final byte NOT_AVAILABLE
protected char kanji
protected String[] readings
null
, if no readings are defined.protected String[] nanoriReadings
null
, if no nanori readings are defined.protected String radicalname
null
.protected String[] translations
null
, if no translations are defined.protected byte strokecount
protected short bnum
protected short cnum
protected short frequency
protected KanjiDic.Entry(char kanji, String[] readings, String[] nanoriReadings, String radicalname, String[] translations, byte strokecount, short bnum, short cnum, short frequency)
protected KanjiDic.Entry(String dicline, boolean extendedInformation)
dicline
- A line from the dictionary file in the format as specified in the
KANJIDIC documentation.extendedInformation
- true
, if bushu number, classical radical number,
frequency of use and stroke count should be parsed.public char getKanji()
public String[] getReadings()
null
, if no readings are defined.public String[] getNanoriReadings()
null
, if no nanori readings are defined.public String getRadicalName()
null
.public String[] getTranslations()
null
, if no translations are defined.public byte getStrokecount()
public short getBNum()
public short getCNum()
public short getFrequency()
Copyright © 2001-2013 the JGloss developers. All Rights Reserved.