|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--irc.style.WordListRecognizer
Recognizer for list of words.
| Constructor Summary | |
WordListRecognizer()
Create a new WordListRecognizer. |
|
| Method Summary | |
java.lang.String |
getType()
Get this recognizer type. |
boolean |
recognize(java.lang.String word)
Try to recognize a word. |
void |
setList(java.lang.String[] list)
Set the list of words to recognize. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public WordListRecognizer()
| Method Detail |
public void setList(java.lang.String[] list)
list - the list of words.public boolean recognize(java.lang.String word)
WordRecognizer
recognize in interface WordRecognizerword - word to analyse.
public java.lang.String getType()
WordRecognizer
getType in interface WordRecognizer
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||