public class StringUtils extends Object
Modifier and Type | Method and Description |
---|---|
static boolean |
isBlank(String str)
Checks whether the given string is blank.
|
static String |
unquote(String str)
Removes single or double quote characters from a string.
|
static String[] |
unquote(String[] str)
Unquote all strings in the given array.
|
public static String unquote(String str)
null
.str
- string to unquotenull
if input was
empty quotes or null
public static String[] unquote(String[] str)
str
- string arraypublic static boolean isBlank(String str)
null
, empty or consists of empty quotes (single or double).str
- string to checktrue
if the string is blankCopyright © 2017. All rights reserved.