Package org.jvnet.jaxb2.maven2.util
Class StringUtils
- java.lang.Object
-
- org.jvnet.jaxb2.maven2.util.StringUtils
-
public class StringUtils extends Object
-
-
Constructor Summary
Constructors Constructor Description StringUtils()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static StringescapeSpace(String url)static booleanisEmpty(String string)Checks if a (trimmed) String isnullor empty.static String[]split(String str, char separatorChar, boolean preserveAllTokens)
-
-
-
Method Detail
-
isEmpty
public static boolean isEmpty(String string)
Checks if a (trimmed) String isnullor empty.- Parameters:
string- the String to check- Returns:
trueif the string isnull, or length zero once trimmed.
-
-