Package com.logicaldoc.util.sql
Class SqlUtil
- java.lang.Object
-
- com.logicaldoc.util.sql.SqlUtil
-
public class SqlUtil extends Object
This class contains methods about SQL handling- Version:
- 4.5
- Author:
- Marco Meschieri - LogicalDOC
-
-
Constructor Summary
Constructors Constructor Description SqlUtil()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static String
doubleBackslashes(String input)
Double the backslashes in a string.static String
doubleQuotes(String input)
Double the quotes in a string.static String
doubleQuotesAndBackslashes(String input)
void
initialize(int[] vector, int index)
-
-
-
Method Detail
-
doubleQuotes
public static String doubleQuotes(String input)
Double the quotes in a string. This means that each character ' will be replaced with '' (two quote characters)- Parameters:
input
- The incoming string- Returns:
- A string with doubled quotes
-
doubleBackslashes
public static String doubleBackslashes(String input)
Double the backslashes in a string. This means that each character \ will be replaced with \\- Parameters:
input
- The incoming string- Returns:
- A string with doubled backslashes
-
initialize
public void initialize(int[] vector, int index)
-
-