public class PlainTextDictionary extends java.lang.Object implements Dictionary
| Constructor and Description |
|---|
PlainTextDictionary(java.io.File file) |
PlainTextDictionary(java.io.InputStream dictFile) |
PlainTextDictionary(java.io.Reader reader)
Creates a dictionary based on a reader.
|
| Modifier and Type | Method and Description |
|---|---|
java.util.Iterator |
getWordsIterator()
Return all words present in the dictionary
|
public PlainTextDictionary(java.io.File file)
throws java.io.FileNotFoundException
java.io.FileNotFoundExceptionpublic PlainTextDictionary(java.io.InputStream dictFile)
public PlainTextDictionary(java.io.Reader reader)
public java.util.Iterator getWordsIterator()
DictionarygetWordsIterator in interface DictionaryCopyright © 2000-2016 Apache Software Foundation. All Rights Reserved.