Expresso 5-6

com.jcorporate.expresso.core.db
Class MySQLEscapeHandler

java.lang.Object
  extended bycom.jcorporate.expresso.core.db.MySQLEscapeHandler
All Implemented Interfaces:
EscapeHandler

public class MySQLEscapeHandler
extends Object
implements EscapeHandler

This class provides escape handling mechanism for MySQL

Since:
Expresso 5.0.3
Author:
Larry Hamel, CodeGuild.com

Constructor Summary
MySQLEscapeHandler()
           
 
Method Summary
 String escapeString(String input)
          Escape a string so that all special characters for that database are properly escaped.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MySQLEscapeHandler

public MySQLEscapeHandler()
Method Detail

escapeString

public String escapeString(String input)
Description copied from interface: EscapeHandler
Escape a string so that all special characters for that database are properly escaped.

Specified by:
escapeString in interface EscapeHandler
Parameters:
input - The string to filter
Returns:
a properly constructed string for your particular database.

Expresso 5-6

Please see www.jcorporate.com for information about new Expresso releases.