com.mayhoo.kanji
Class KanjiDicReader

java.lang.Object
  |
  +--com.mayhoo.kanji.KanjiDicReader

public class KanjiDicReader
extends 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 $
Author:
Duane J. May

Constructor Summary
KanjiDicReader(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
 

Constructor Detail

KanjiDicReader

public KanjiDicReader(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.