com.agimatec.commons.util
Class StringUtils
java.lang.Object
com.agimatec.commons.util.StringUtils
public class StringUtils
- extends Object
This class contains static methods that operate on Strings or return Strings.
Methods for conversion and formatting can be found here.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
StringUtils
public StringUtils()
toSQLLiteral
public static String toSQLLiteral(String string)
appendSQLLiteral
public static void appendSQLLiteral(String string,
StringBuilder buf)
- double ' for usage as SQL literal.
replace \r and \n by chr(13) and chr(10)
append the given string as an SQL literal (embedded with ') or null if the given string is null
Copyright © 2008-2011. All Rights Reserved.