public interface IRAMDictionary extends IDictionary, ILoadPolicy, ILoadable
| Modifier and Type | Interface and Description |
|---|---|
static class |
IRAMDictionary.FileInputStreamFactory
Default implementation of the
IRAMDictionary.IInputStreamFactory interface which
creates an input stream from a specified File object. |
static interface |
IRAMDictionary.IInputStreamFactory
An input stream factory is used by certain constructors of the
RAMDictionary class to provide source data to load the dictionary
into memory from a stream. |
static class |
IRAMDictionary.URLInputStreamFactory
Default implementation of the
IRAMDictionary.IInputStreamFactory interface which
creates an input stream from a specified URL. |
IHasLifecycle.LifecycleState, IHasLifecycle.ObjectClosedException, IHasLifecycle.ObjectOpenExceptionBACKGROUND_LOAD, IMMEDIATE_LOAD, NO_LOAD| Modifier and Type | Method and Description |
|---|---|
void |
export(OutputStream out)
Exports the in-memory contents of the to the specified output stream.
|
getExceptionEntry, getExceptionEntry, getExceptionEntryIterator, getIndexWord, getIndexWord, getIndexWordIterator, getSenseEntry, getSenseEntryIterator, getSynset, getSynsetIterator, getWord, getWord, setCharsetgetVersionisOpen, opengetCharsetgetLoadPolicy, setLoadPolicyvoid export(OutputStream out) throws IOException
out - the output stream to which the in-memory data will be written;
may not be nullIOException - if there is a problem writing the in-memory data to the
output stream.IllegalStateException - if the dictionary has not been loaded into memoryNullPointerException - if the output stream is nullCopyright © 2018. All rights reserved.