public class DictionaryCatalogSet
extends java.lang.Object
DictionaryCatalogs that allows
a DictionaryFile to be retrieved by its POS
and DictionaryFileType.| Modifier and Type | Field and Description |
|---|---|
private java.util.Map |
_catalogs |
| Constructor and Description |
|---|
DictionaryCatalogSet(java.lang.String path,
java.lang.Class dictionaryFileType)
Creates a catalog set of the specified type of file using files in the specified dictionary directory.
|
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
DictionaryCatalog |
get(DictionaryFileType fileType) |
java.util.Iterator |
getCatalogIterator() |
DictionaryFile |
getDictionaryFile(POS pos,
DictionaryFileType fileType) |
boolean |
isOpen() |
void |
open() |
int |
size() |
public DictionaryCatalogSet(java.lang.String path,
java.lang.Class dictionaryFileType)
public void open()
throws java.io.IOException
java.io.IOExceptionpublic boolean isOpen()
public void close()
public DictionaryCatalog get(DictionaryFileType fileType)
public int size()
public java.util.Iterator getCatalogIterator()
public DictionaryFile getDictionaryFile(POS pos, DictionaryFileType fileType)