public class PlainTextDictionary extends Object implements Dictionary
| Constructor and Description |
|---|
PlainTextDictionary(File file)
Creates a dictionary based on a File.
|
PlainTextDictionary(InputStream dictFile)
Creates a dictionary based on an inputstream.
|
PlainTextDictionary(Reader reader)
Creates a dictionary based on a reader.
|
| Modifier and Type | Method and Description |
|---|---|
InputIterator |
getEntryIterator()
Returns an iterator over all the entries
|
public PlainTextDictionary(File file) throws IOException
NOTE: content is treated as UTF-8
IOExceptionpublic PlainTextDictionary(InputStream dictFile)
NOTE: content is treated as UTF-8
public PlainTextDictionary(Reader reader)
public InputIterator getEntryIterator() throws IOException
DictionarygetEntryIterator in interface DictionaryIOExceptionCopyright © 2010 - 2020 Adobe. All Rights Reserved