Package net.didion.jwnl.dictionary.file
Class DictionaryCatalogSet
java.lang.Object
net.didion.jwnl.dictionary.file.DictionaryCatalogSet
Simple container for
DictionaryCatalog
s 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 TypeMethodDescriptionvoid
close()
get
(DictionaryFileType fileType) getDictionaryFile
(POS pos, DictionaryFileType fileType) boolean
isOpen()
void
open()
int
size()
-
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
-