Log4j 1.2.3

org.apache.log4j.helpers
Class Transform

java.lang.Object
  |
  +--org.apache.log4j.helpers.Transform

public class Transform
extends Object

Utility class for transforming strings.


Constructor Summary
Transform()
           
 
Method Summary
static String escapeTags(String input)
          This method takes a string which may contain HTML tags (ie, , , etc) and converts the '<' and '>' characters to their HTML escape sequences.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Transform

public Transform()
Method Detail

escapeTags

public static String escapeTags(String input)
This method takes a string which may contain HTML tags (ie, , , etc) and converts the '<' and '>' characters to their HTML escape sequences.
Parameters:
input - The text to be converted.
Returns:
The input string with the characters '<' and '>' replaced with < and > respectively.

Log4j 1.2.3

Copyright 2000-2002 Apache Software Foundation.