| Package | Description |
|---|---|
| edu.mit.jwi |
Provides the main dictionary interface and a default implementation.
|
| Modifier and Type | Class and Description |
|---|---|
static class |
IRAMDictionary.FileInputStreamFactory
Default implementation of the
IRAMDictionary.IInputStreamFactory interface which
creates an input stream from a specified File object. |
static class |
IRAMDictionary.URLInputStreamFactory
Default implementation of the
IRAMDictionary.IInputStreamFactory interface which
creates an input stream from a specified URL. |
| Modifier and Type | Field and Description |
|---|---|
protected IRAMDictionary.IInputStreamFactory |
RAMDictionary.factory |
| Modifier and Type | Method and Description |
|---|---|
static IRAMDictionary.IInputStreamFactory |
RAMDictionary.createInputStreamFactory(File file)
Creates an input stream factory out of the specified File.
|
static IRAMDictionary.IInputStreamFactory |
RAMDictionary.createInputStreamFactory(URL url)
Creates an input stream factory out of the specified URL.
|
IRAMDictionary.IInputStreamFactory |
RAMDictionary.getStreamFactory()
Returns the stream factory that backs this instance; may be
null. |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
RAMDictionary.export(IRAMDictionary.IInputStreamFactory in,
OutputStream out)
This is a convenience method that transforms a Wordnet dictionary drawn
from the specified input stream factory into a in-memory image written to
the specified output stream.
|
| Constructor and Description |
|---|
RAMDictionary(IDictionary backing,
IRAMDictionary.IInputStreamFactory factory,
int loadPolicy)
This is a internal constructor that unifies the constructor decision
matrix.
|
RAMDictionary(IRAMDictionary.IInputStreamFactory factory)
Constructs a new RAMDictionary that will load an in-memory image from the
specified stream factory.
|
Copyright © 2018. All rights reserved.