Package org.jvnet.basicjaxb.lang
Class StringUtils
java.lang.Object
org.jvnet.basicjaxb.lang.StringUtils
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic Stringstatic booleanisBlank(CharSequence cs) static booleanisEmpty(CharSequence cs) static Stringstatic intlength(CharSequence cs) static String[]static StringtoLocation(Locator locator) static StringtoLocation(Locator locator, int maxIdSize) static StringvalueToString(Object value) Convert a value to its string representation or "null".
-
Field Details
-
LINE_SEPARATOR
-
EMPTY
- See Also:
-
EMPTY_STRING_ARRAY
-
NULL
- See Also:
-
UNKNOWN
- See Also:
-
DEFAULT_MAX_ID_SIZE
public static final int DEFAULT_MAX_ID_SIZE- See Also:
-
-
Constructor Details
-
StringUtils
public StringUtils()
-
-
Method Details
-
valueToString
Convert a value to its string representation or "null".
NOTE: Stringification of collections, etc. may be time consuming!
- Parameters:
value- The value to be stringified.- Returns:
- The stringification.
-
isEmpty
-
isBlank
-
length
-
split
-
join
-
clipId
-
toLocation
-
toLocation
-