org.blojsom.plugin.common
Class StringUtilitiesPlugin.StringUtilities

java.lang.Object
  extended byorg.blojsom.plugin.common.StringUtilitiesPlugin.StringUtilities
Enclosing class:
StringUtilitiesPlugin

public class StringUtilitiesPlugin.StringUtilities
extends java.lang.Object

Utility class for bundling string utility functions to make available to templates


Constructor Summary
StringUtilitiesPlugin.StringUtilities()
          Construct a new instance of StringUtilities
 
Method Summary
 java.lang.String escapeString(java.lang.String input)
          Return an escaped string where &, <, >, ", and ' are converted to their HTML equivalents
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StringUtilitiesPlugin.StringUtilities

public StringUtilitiesPlugin.StringUtilities()
Construct a new instance of StringUtilities

Method Detail

escapeString

public java.lang.String escapeString(java.lang.String input)
Return an escaped string where &, <, >, ", and ' are converted to their HTML equivalents

Parameters:
input - Unescaped string
Returns:
Escaped string containing HTML equivalents for &, <, >, ", and '