public class StringUtils extends Object
Constructor | Description |
---|---|
StringUtils() |
Modifier and Type | Method | 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–2018. All rights reserved.