Package net.didion.jwnl.dictionary.file
Class DictionaryCatalogSet
java.lang.Object
net.didion.jwnl.dictionary.file.DictionaryCatalogSet
Simple container for
DictionaryCatalogs that allows
a DictionaryFile to be retrieved by its POS
and DictionaryFileType.-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionDictionaryCatalogSet(String path, Class dictionaryFileType) Creates a catalog set of the specified type of file using files in the specified dictionary directory. -
Method Summary
Modifier and TypeMethodDescriptionvoidclose()get(DictionaryFileType fileType) getDictionaryFile(POS pos, DictionaryFileType fileType) booleanisOpen()voidopen()intsize()
-
Field Details
-
_catalogs
-
-
Constructor Details
-
DictionaryCatalogSet
Creates a catalog set of the specified type of file using files in the specified dictionary directory.
-
-
Method Details
-
open
- Throws:
IOException
-
isOpen
public boolean isOpen() -
close
public void close() -
get
-
size
public int size() -
getCatalogIterator
-
getDictionaryFile
-