net.didion.jwnl.dictionary.file
Class DictionaryCatalog
java.lang.Object
net.didion.jwnl.dictionary.file.DictionaryCatalog
public class DictionaryCatalog
- extends 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 |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DictionaryCatalog
public DictionaryCatalog(String path,
DictionaryFileType fileType,
Class dictionaryFileType)
getKey
public Object getKey()
open
public void open()
throws IOException
- Throws:
IOException
isOpen
public boolean isOpen()
close
public void close()
size
public int size()
getFileIterator
public Iterator getFileIterator()
get
public DictionaryFile get(POS pos)
getFileType
public DictionaryFileType getFileType()
Copyright © 2011. All Rights Reserved.