Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

com.mayhoo.kanji
Class KanjiDicReader  view KanjiDicReader download KanjiDicReader.java

java.lang.Object
  extended bycom.mayhoo.kanji.KanjiDicReader

public class KanjiDicReader
extends java.lang.Object

KanjiDicReader enables the reading of the Kanjidic file format created by Jim Breen. The class reads the file and produces a data structure related to the XML file format by Duane May, which was origianlly based on the kanjidic format. The class consists of one function load and the classes constructor. A file is imported as follows: KanjiDicReader reader = new KanjiDicReader( filename ); KanjiDic theDictionary = reader.load();

Version:
$Id: KanjiDicReader.java,v 1.2 2002/04/20 18:10:24 djmay Exp $

Field Summary
private  int controlHigh
           
private  int csOneHigh
           
private  int csOneLow
           
private  int csThree
           
private  int csTwo
           
private  int csZeroHigh
           
private  int csZeroLow
           
private  java.lang.String m_fileName
           
private static java.lang.String VERSION
          Version information
 
Constructor Summary
KanjiDicReader(java.lang.String fileName)
          The constructor.
 
Method Summary
 com.mayhoo.kanji.xml.Kanjidic load()
          Loads the file specified in the constructor and returns the KanjiDic struture containing the information in the file.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

VERSION

private static final java.lang.String VERSION
Version information

See Also:
Constant Field Values

m_fileName

private java.lang.String m_fileName

controlHigh

private int controlHigh

csZeroLow

private int csZeroLow

csZeroHigh

private int csZeroHigh

csOneLow

private int csOneLow

csOneHigh

private int csOneHigh

csTwo

private int csTwo

csThree

private int csThree
Constructor Detail

KanjiDicReader

public KanjiDicReader(java.lang.String fileName)
The constructor. Creates a KanjiDic reader reading from the file, fileName.

Method Detail

load

public com.mayhoo.kanji.xml.Kanjidic load()
Loads the file specified in the constructor and returns the KanjiDic struture containing the information in the file.