|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.lucene.search.spell.PlainTextDictionary
public class PlainTextDictionary
Dictionary represented by a file text.
Format allowed: 1 word per line:
word1
word2
word3
Constructor Summary | |
---|---|
PlainTextDictionary(java.io.File file)
|
|
PlainTextDictionary(java.io.InputStream dictFile)
|
Method Summary | |
---|---|
java.util.Iterator |
getWordsIterator()
return all the words present in the dictionnary |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public PlainTextDictionary(java.io.File file) throws java.io.FileNotFoundException
java.io.FileNotFoundException
public PlainTextDictionary(java.io.InputStream dictFile)
Method Detail |
---|
public java.util.Iterator getWordsIterator()
Dictionary
getWordsIterator
in interface Dictionary
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |