java.lang.Object
org.nkjmlab.sorm4j.util.h2.internal.LiteralUtils
-
コンストラクタの概要
コンストラクタ -
メソッドの概要
修飾子とタイプメソッド説明static StringescapeJavaString(String str) Escapes the characters in a String using Java String rules.static StringwrapSingleQuote(Object str) Wraps the given string in single quotes.
-
コンストラクタの詳細
-
LiteralUtils
public LiteralUtils()
-
-
メソッドの詳細
-
escapeJavaString
Escapes the characters in a String using Java String rules.- パラメータ:
str- String to escape values in, may be null- 戻り値:
- String with escaped values, null if null string input
-
wrapSingleQuote
Wraps the given string in single quotes. If the argument is null, the method returns null.- パラメータ:
str- The string to be wrapped in single quotes. If null, the return value will also be null.- 戻り値:
- The string wrapped in single quotes. Returns null if the input argument is null.
-