irc.style
Class URLRecognizer

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

public class URLRecognizer
extends java.lang.Object
implements WordRecognizer

The URLRecognizer.


Constructor Summary
URLRecognizer()
           
 
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

URLRecognizer

public URLRecognizer()
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.