net.sourceforge.wohenchan.convert
Class CedictGBConverterTable

java.lang.Object
  |
  +--net.sourceforge.wohenchan.convert.AbstractConverterTable
        |
        +--net.sourceforge.wohenchan.convert.CedictConverterTable
              |
              +--net.sourceforge.wohenchan.convert.CedictGBConverterTable
All Implemented Interfaces:
ConverterTableInterface

public class CedictGBConverterTable
extends CedictConverterTable

This class implements the search functions from the ConverterTableInterface. It can search by Big5, Pinyin, and English. The dictionary entry vector is passed in when construct this class. This class handles the cedict.GB file, and we assume that each line which contains the '[' and ']' is a dictionary entry. If there is a line which contains the '[' and ']' but it's not an entry, then it might cause problem.

Version:
$Name: $ $Date: 2003/06/23 06:16:40 $
Author:
$Author: wtanaka $

Field Summary
private  char ENG_DEFINITION_SEPARATOR
           
private static java.lang.String FILE_SEPARATOR
           
 
Fields inherited from class net.sourceforge.wohenchan.convert.CedictConverterTable
 
Fields inherited from class net.sourceforge.wohenchan.convert.AbstractConverterTable
 
Constructor Summary
CedictGBConverterTable()
           
 
Method Summary
 java.lang.String toString()
           
 
Methods inherited from class net.sourceforge.wohenchan.convert.CedictConverterTable
init, postInitLookupByEnglishSubstring, postInitLookupByPinyin, postInitLookupBySimplifiedChinese, postInitLookupByTraditionalChinese, postInitLookupByUnicode
 
Methods inherited from class net.sourceforge.wohenchan.convert.AbstractConverterTable
bytesToUnicode, fireDone, fireEntryFound, fireProgressChanged, fireStatus, fireTaskChange, initInOtherThread, lookupByEnglishSubstring, lookupByPinyin, lookupBySimplifiedChinese, lookupByTraditionalChinese, unicodeToBytes
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

ENG_DEFINITION_SEPARATOR

private final char ENG_DEFINITION_SEPARATOR
See Also:
Constant Field Values

FILE_SEPARATOR

private static final java.lang.String FILE_SEPARATOR
Constructor Detail

CedictGBConverterTable

public CedictGBConverterTable()
Method Detail

toString

public java.lang.String toString()
Overrides:
toString in class CedictConverterTable