public abstract class AbstractPrincetonRandomAccessDictionaryFile extends AbstractPrincetonDictionaryFile implements RandomAccessDictionaryFile
| Modifier and Type | Field and Description |
|---|---|
protected java.lang.String |
encoding |
static java.lang.String |
ENCODING_KEY
Dictionary file encoding.
|
dictionary, fileType, params, path, pos| Modifier | Constructor and Description |
|---|---|
protected |
AbstractPrincetonRandomAccessDictionaryFile(Dictionary dictionary,
java.util.Map<java.lang.String,Param> params)
Factory constructor.
|
protected |
AbstractPrincetonRandomAccessDictionaryFile(Dictionary dictionary,
java.lang.String path,
POS pos,
DictionaryFileType fileType,
java.util.Map<java.lang.String,Param> params)
Instance constructor.
|
getFilenamegetDictionary, getFileType, getPOS, setDictionaryclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetFirstLineOffset, getNextLineOffset, getOffsetLength, length, readLine, readWord, setOffsetLengthclose, edit, getFilename, getFileType, getPOS, isOpen, open, savegetDictionary, setDictionarypublic static final java.lang.String ENCODING_KEY
Charset.protected final java.lang.String encoding
protected AbstractPrincetonRandomAccessDictionaryFile(Dictionary dictionary, java.util.Map<java.lang.String,Param> params)
dictionary - dictionaryparams - paramsprotected AbstractPrincetonRandomAccessDictionaryFile(Dictionary dictionary, java.lang.String path, POS pos, DictionaryFileType fileType, java.util.Map<java.lang.String,Param> params)
dictionary - dictionarypath - file pathpos - part of speechfileType - file typeparams - params