|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.enableit.db.SqlEncoder
Ensure special characters are escaped before issuing SQL statements.
Constructor Summary | |
SqlEncoder()
Default Constructor |
Method Summary | |
static java.lang.String |
encode(java.lang.String string)
Encodes characters as escape sequences to prevent errors when passed to a SQL statement Actual chars requiring encoding are: ', newline, \, |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public SqlEncoder()
Method Detail |
public static java.lang.String encode(java.lang.String string)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |