com.jcorporate.expresso.core.db
Class MySQLEscapeHandler
java.lang.Object
com.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
|
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 |
MySQLEscapeHandler
public MySQLEscapeHandler()
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.
Please see www.jcorporate.com for information about new Expresso releases.