public class StringUtils extends Object
Constructor and Description |
---|
StringUtils() |
Modifier and Type | Method and Description |
---|---|
static String |
escapeSpace(String url) |
static boolean |
isEmpty(String string)
Checks if a (trimmed) String is
null or empty. |
static String[] |
split(String str,
char separatorChar,
boolean preserveAllTokens) |
public static boolean isEmpty(String string)
null
or empty.string
- the String to checktrue
if the string is null
, or length
zero once trimmed.Copyright © 2006–2020. All rights reserved.