Java org.apache.shiro.util StringUtils fields, constructors, methods, implement or subclass

Example usage for Java org.apache.shiro.util StringUtils fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for org.apache.shiro.util StringUtils.

The text is from its open source code.

Field

StringEMPTY_STRING
Constant representing the empty string, equal to ""
charDEFAULT_DELIMITER_CHAR
Constant representing the default delimiter character (comma), equal to ','

Method

Stringclean(String in)
Returns a 'cleaned' representation of the specified argument.
booleanhasLength(String str)
Check that the given String is neither null nor of length 0.
booleanhasText(String str)
Check whether the given String has actual text.
Stringjoin(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)
StringtoDelimitedString(Object[] array, String delimiter)
Returns the array's contents as a string, with each element delimited by the specified delimiter argument.
StringtoDelimitedString(Collection c, String delimiter)
Returns the collection's contents as a string, with each element delimited by the specified delimiter argument.
StringtoString(Object[] array)
Returns the specified array as a comma-delimited (',') string.