com.ivata.mask.web.format
Class LinkFormat

java.lang.Object
  extended bycom.ivata.mask.web.format.LinkFormat
All Implemented Interfaces:
HTMLFormat

public class LinkFormat
extends java.lang.Object
implements HTMLFormat

This class converts URLs in the text into HTML anchor links.

Since:
ivata masks 0.4 (2002-06-19)
Version:
$Revision: 1.3 $
Author:
Colin MacLeod colin.macleod@ivata.com

Constructor Summary
LinkFormat()
           
 
Method Summary
 java.lang.String format(java.lang.String hTMLTextParam)
           Convert all URLs in the text provided into HTML 'anchor' links.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LinkFormat

public LinkFormat()
Method Detail

format

public final java.lang.String format(java.lang.String hTMLTextParam)

Convert all URLs in the text provided into HTML 'anchor' links. Currently, this method knows and converts URLs beginning with:

Specified by:
format in interface HTMLFormat
Parameters:
hTMLTextParam - HTML text to convert URLs in.
Returns:
formatted text, with all of the URLs converted to HTML anchor tags.


Copyright © 2001-2005 ivata limited. All Rights Reserved.