|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.jidesoft.utils.StringUtils
public class StringUtils
| Constructor Summary | |
|---|---|
StringUtils()
|
|
| Method Summary | |
|---|---|
static String |
max(List<String> strings)
Returns the max String in the strings list. |
static String |
min(List<String> strings)
Returns the min String in the strings list. |
static Range<String> |
range(List<String> strings)
Returns the range of numbers. |
static String |
stringList(List<?> objects)
|
static String |
stringList(Object[] objects)
|
static String |
stringList(String prefix,
String suffix,
String separator,
Object... objects)
Constructs a list of items in a string form using a prefix and suffix to denote the start and end of the list and a separator string in between the items. |
static String |
toCamelCase(String str)
Converts the supplied string to CamelCase by converting the first character to upper case and the rest of the string to lower case. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public StringUtils()
| Method Detail |
|---|
public static String toCamelCase(String str)
str - the input string
public static String stringList(String prefix,
String suffix,
String separator,
Object... objects)
prefix - the prefix for the concatenated string.suffix - the suffix for the concatenated string.separator - the separator between the elements.objects - the array of the elements.
public static String stringList(Object[] objects)
public static String stringList(List<?> objects)
public static String min(List<String> strings)
strings - the numbers to calculate the min.
public static String max(List<String> strings)
strings - the numbers to calculate the max.
public static Range<String> range(List<String> strings)
strings - the numbers to calculate the range.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||