Jive Forums API (5.5.20.2-oracle) Developer Javadocs

com.jivesoftware.webchat.filter
Class URLFilter

java.lang.Object
  extended by com.jivesoftware.webchat.filter.URLFilter

public class URLFilter
extends java.lang.Object

A Filter that converts URL's to working HTML web links.

The default set of patterns recognized are ftp://path-of-url, http://path-of-url, https://path-of-url but can be expanded upon.

In addition, the following patterns are also recognized.

[url path-of-url]descriptive text[/url] and [url=path-of-url]descriptive text[/url].

The [url] allows any path to be defined as link.


Method Summary
static java.lang.String applyFilter(java.lang.String string)
           
 java.lang.String getSchemes()
          Returns the current supported uri schemes as a comma seperated string.
 void setSchemes(java.lang.String schemes)
          Sets the current supported uri schemes as a comma seperated string.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

applyFilter

public static java.lang.String applyFilter(java.lang.String string)

getSchemes

public java.lang.String getSchemes()
Returns the current supported uri schemes as a comma seperated string.

Returns:
the current supported uri schemes as a comma seperated string.

setSchemes

public void setSchemes(java.lang.String schemes)
Sets the current supported uri schemes as a comma seperated string.

Parameters:
schemes - a comma seperated string of uri schemes.

Jive Forums Project Page

Copyright © 1999-2006 Jive Software.