|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.lucene.analysis.hunspell.HunspellWord
public class HunspellWord
A dictionary (.dic) entry with its associated flags.
Constructor Summary | |
---|---|
HunspellWord()
Creates a new HunspellWord with no associated flags |
|
HunspellWord(char[] flags)
Constructs a new HunspellWord with the given flags |
Method Summary | |
---|---|
char[] |
getFlags()
Returns the flags associated with the word |
boolean |
hasFlag(char flag)
Checks whether the word has the given flag associated with it |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public HunspellWord()
public HunspellWord(char[] flags)
flags
- Flags to associate with the wordMethod Detail |
---|
public boolean hasFlag(char flag)
flag
- Flag to check whether it is associated with the word
true
if the flag is associated, false
otherwisepublic char[] getFlags()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |