|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.formaria.sql.StringUtilities
public class StringUtilities
String utilities for use with SQL queries
Copyright (c) Formaria Ltd., 2008, This software is licensed under the GNU Public License (GPL), please see license.txt for more details. If you make commercial use of this software you must purchase a commercial license from Formaria.
$Revision: 1.4 $
| Constructor Summary | |
|---|---|
StringUtilities()
|
|
| Method Summary | |
|---|---|
static java.lang.String |
escape(java.lang.String s)
Escape special characters in preparation for use in SQL statements |
static java.lang.String |
getBlankString(java.lang.String s)
Return a blank/empty if the argument is null |
static boolean |
isBlankOrNull(java.lang.String s)
Check to see if a string is null or blank |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public StringUtilities()
| Method Detail |
|---|
public static boolean isBlankOrNull(java.lang.String s)
s - the stringto check
public static java.lang.String getBlankString(java.lang.String s)
s - the string to check
public static java.lang.String escape(java.lang.String s)
s - the string to check
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||