irc.style
Interface WordRecognizer

All Known Implementing Classes:
ChannelRecognizer, URLRecognizer, WordListRecognizer

public interface WordRecognizer

The word recognizer.


Method Summary
 java.lang.String getType()
          Get this recognizer type.
 boolean recognize(java.lang.String word)
          Try to recognize a word.
 

Method Detail

recognize

public boolean recognize(java.lang.String word)
Try to recognize a word.

Parameters:
word - word to analyse.
Returns:
true if this word matches.

getType

public java.lang.String getType()
Get this recognizer type.

Returns:
recognizer type name.