org.junitee.util
Class StringUtils

java.lang.Object
  extended byorg.junitee.util.StringUtils

public class StringUtils
extends java.lang.Object

Since:
1.5
Version:
$Revision: 1.4 $
Author:
Oliver Rossmueller

Constructor Summary
StringUtils()
           
 
Method Summary
static java.lang.String filterStack(java.lang.String stack)
          Filter the given stack trace.
static java.lang.String htmlText(java.lang.String text)
          This method converts texts to be displayed on html-page.
static java.lang.String xmlText(java.lang.String text)
          This method converts texts to be used in an xml document.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StringUtils

public StringUtils()
Method Detail

htmlText

public static java.lang.String htmlText(java.lang.String text)
This method converts texts to be displayed on html-page. Following conversion are done "<" => "<" , ">" => ">" and "&" => "&", "\n" => "
"


xmlText

public static java.lang.String xmlText(java.lang.String text)
This method converts texts to be used in an xml document. Following conversion are done "<" => "<" , ">" => ">" and "&" => "&"


filterStack

public static java.lang.String filterStack(java.lang.String stack)
Filter the given stack trace.

Parameters:
stack -
Returns: