org.exoplatform.gwtframework.commons.util
Class StringEscapeUtils

java.lang.Object
  extended by org.exoplatform.gwtframework.commons.util.StringEscapeUtils

public class StringEscapeUtils
extends java.lang.Object

Version:
$Id
Author:
Dmytro Nochevnov

Constructor Summary
StringEscapeUtils()
           
 
Method Summary
static java.lang.String htmlEncode(java.lang.String input)
          HTML-encode a string.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StringEscapeUtils

public StringEscapeUtils()
Method Detail

htmlEncode

public static java.lang.String htmlEncode(java.lang.String input)
HTML-encode a string. This simple method only replaces the five characters &, <, >, ", ' and space " ".

Parameters:
input - the String to convert
Returns:
a new String with HTML encoded characters


Copyright © 2013 eXo Platform SAS. All Rights Reserved.