irc.style
Class ChannelRecognizer

java.lang.Object
  |
  +--irc.style.ChannelRecognizer
All Implemented Interfaces:
WordRecognizer

public class ChannelRecognizer
extends java.lang.Object
implements WordRecognizer

The channel recognizer.


Constructor Summary
ChannelRecognizer()
           
 
Method Summary
 java.lang.String getType()
          Get this recognizer type.
 boolean recognize(java.lang.String word)
          Try to recognize a word.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ChannelRecognizer

public ChannelRecognizer()
Method Detail

recognize

public boolean recognize(java.lang.String word)
Description copied from interface: WordRecognizer
Try to recognize a word.

Specified by:
recognize in interface WordRecognizer
Parameters:
word - word to analyse.
Returns:
true if this word matches.

getType

public java.lang.String getType()
Description copied from interface: WordRecognizer
Get this recognizer type.

Specified by:
getType in interface WordRecognizer
Returns:
recognizer type name.