Example usage for Java org.apache.shiro.util StringUtils fields, constructors, methods, implement or subclass
The text is from its open source code.
String | EMPTY_STRING Constant representing the empty string, equal to "" |
char | DEFAULT_DELIMITER_CHAR Constant representing the default delimiter character (comma), equal to ',' |
String | clean(String in) Returns a 'cleaned' representation of the specified argument. |
boolean | hasLength(String str) Check that the given String is neither null nor of length 0. |
boolean | hasText(String str) Check whether the given String has actual text. |
String | join(Iterator> iterator, String separator) Joins the elements of the provided Iterator into a single String containing the provided elements. No delimiter is added before or after the list. |
String[] | split(String line) |
String[] | split(String line, char delimiter) |
String[] | split(String aLine, char delimiter, char beginQuoteChar, char endQuoteChar, boolean retainQuotes, boolean trimTokens) Splits the specified delimited String into tokens, supporting quoted tokens so that quoted strings themselves won't be tokenized. |
String[] | splitKeyValue(String aLine) |
String | toDelimitedString(Object[] array, String delimiter) Returns the array's contents as a string, with each element delimited by the specified delimiter argument. |
String | toDelimitedString(Collection c, String delimiter) Returns the collection's contents as a string, with each element delimited by the specified delimiter argument. |
String | toString(Object[] array) Returns the specified array as a comma-delimited (',') string. |