public class StringUtil extends Object
| Constructor | Description |
|---|---|
StringUtil() |
| Modifier and Type | Method | 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.