net.didion.jwnl.dictionary.file
Class DictionaryCatalog
java.lang.Object
net.didion.jwnl.dictionary.file.DictionaryCatalog
public class DictionaryCatalog
- extends java.lang.Object
A container for the files associated with a catalog (the index, data, and exception
files associated with a POS).
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DictionaryCatalog
public DictionaryCatalog(java.lang.String path,
DictionaryFileType fileType,
java.lang.Class dictionaryFileType)
getKey
public java.lang.Object getKey()
open
public void open()
throws java.io.IOException
- Throws:
java.io.IOException
isOpen
public boolean isOpen()
close
public void close()
size
public int size()
getFileIterator
public java.util.Iterator getFileIterator()
get
public DictionaryFile get(POS pos)
getFileType
public DictionaryFileType getFileType()