edu.jhu.tmaj.util
Class StringQuoter

java.lang.Object
  extended by edu.jhu.tmaj.util.StringQuoter

public final class StringQuoter
extends java.lang.Object

A Utility class for preparing strings that are put in SQL statements.


Method Summary
static java.lang.String quote(java.lang.String st)
          Returns a String that can be included in sybase SQL statement.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

quote

public static final java.lang.String quote(java.lang.String st)
Returns a String that can be included in sybase SQL statement. The string is quoted with single quotes; All single quotes in the string are escaped with single quotes.