EchoPoint API - 3.0.0b5
App Webcontainer

echopoint.util
Class QuoterKit

java.lang.Object
  extended by echopoint.util.QuoterKit

public class QuoterKit
extends Object

This class will quote string data


Method Summary
static String quoteHTML(String s)
          Quortes a string into HTML characters.
static String quoteJ(String s, char quoteChar)
          This method will apply a "Java quote" (ie double slashes) to a string with the given quote char
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

quoteJ

public static String quoteJ(String s,
                            char quoteChar)
This method will apply a "Java quote" (ie double slashes) to a string with the given quote char


quoteHTML

public static String quoteHTML(String s)
Quortes a string into HTML characters.

Parameters:
s - - the string to quote into safe HTML
Returns:
- safe HTML or null if s is null

EchoPoint API - 3.0.0b5
App Webcontainer