See on Tõrva Gümnaasiumi vana veebilehe arhiiv. Uus veebileht: https://torva.edu.ee/

WordRecognizer (PJIRC project)

Lisamaterjalide loend

Algne fail: vana_veeb/pjirc/doc/javadoc/irc/style/WordRecognizer.html.

========== START OF NAVBAR ==========
=========== END OF NAVBAR ===========
======== START OF CLASS DATA ========

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.