public class StringUtil extends Object
Constructor and Description |
---|
StringUtil() |
Modifier and Type | Method and Description |
---|---|
static String |
quote(String s)
|
static String |
quote(String s,
String nullResult)
Returns a quoted version of a given string, i.e.
|
public static String quote(String s, String nullResult)
s
- [nullable] the string to quotenullResult
- [default="null"] the String to be returned for null values.Copyright © 2019. All Rights Reserved.