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.
|
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 BytesRefIterator getWordsIterator() throws IOException
DictionarygetWordsIterator in interface DictionaryIOExceptionCopyright © 2000-2013 Apache Software Foundation. All Rights Reserved.