モジュール org.nkjmlab.sorm4j

クラス LiteralUtils

java.lang.Object
org.nkjmlab.sorm4j.util.h2.internal.LiteralUtils

public class LiteralUtils extends Object
  • コンストラクタの詳細

    • LiteralUtils

      public LiteralUtils()
  • メソッドの詳細

    • escapeJavaString

      public static String escapeJavaString(String str)
      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

      public static String wrapSingleQuote(Object str)
      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.