ar.com.ktulu.dict
Class JDBCString

java.lang.Object
  |
  +--ar.com.ktulu.dict.JDBCString

public class JDBCString
extends java.lang.Object

Quotes a string for use in a SQL statement. Replaces all occurrences of "'" with "\\'".

Author:
Luis Parravicini

Method Summary
static java.lang.String quote(java.lang.String s)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

quote

public static java.lang.String quote(java.lang.String s)