irc.style
Class MultipleWordCatcher

java.lang.Object
  |
  +--irc.style.MultipleWordCatcher
All Implemented Interfaces:
WordCatcher

public class MultipleWordCatcher
extends java.lang.Object
implements WordCatcher

Multiple word catcher.


Constructor Summary
MultipleWordCatcher()
          Create a new MultipleWordCatcher.
 
Method Summary
 void addRecognizer(WordRecognizer wr)
          Add a recognizer in the list.
 java.lang.String getType(java.lang.String word)
          Get the type of this word, or null if not found.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MultipleWordCatcher

public MultipleWordCatcher()
Create a new MultipleWordCatcher.

Method Detail

addRecognizer

public void addRecognizer(WordRecognizer wr)
Add a recognizer in the list.

Parameters:
wr - recognizer to add.

getType

public java.lang.String getType(java.lang.String word)
Description copied from interface: WordCatcher
Get the type of this word, or null if not found.

Specified by:
getType in interface WordCatcher
Parameters:
word - word to analyse.
Returns:
word type, or null if not found.