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.FileNotFoundException
public PlainTextDictionary(java.io.InputStream dictFile)
public PlainTextDictionary(java.io.Reader reader)
public java.util.Iterator getWordsIterator()
Dictionary
getWordsIterator
in interface Dictionary
Copyright © 2000-2014 Apache Software Foundation. All Rights Reserved.