jChatBox.Chat.Filter
Class URLFilter

java.lang.Object
  |
  +--jChatBox.Chat.Filter.Filter
        |
        +--jChatBox.Chat.Filter.URLFilter
All Implemented Interfaces:
java.io.Serializable

public class URLFilter
extends Filter

This class implements an URL filter.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class jChatBox.Chat.Filter.Filter
_description, _id, _name, _params
 
Constructor Summary
URLFilter()
           
 
Method Summary
 void init()
          Nothing to initialize.
 java.lang.String process(java.lang.String input)
          Replaces filter string by filter
filter string could be : http://, https://, ftp://, news://, file://, mailto:
 
Methods inherited from class jChatBox.Chat.Filter.Filter
eprocess, getDescription, getID, getName, getParams, setParams, trace
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

URLFilter

public URLFilter()
Method Detail

init

public void init()
Nothing to initialize.

Specified by:
init in class Filter

process

public java.lang.String process(java.lang.String input)
Replaces filter string by filter
filter string could be : http://, https://, ftp://, news://, file://, mailto:

Specified by:
process in class Filter
Parameters:
input - string to filter
Returns:
filtered string