|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object utils.StringUtils
public class StringUtils
string utils
Constructor Summary | |
---|---|
StringUtils()
|
Method Summary | |
---|---|
static java.lang.String |
buildString(java.lang.String... strings)
build string from list of strings |
static boolean |
isEmpty(java.lang.String s)
Check if a string has non-empty content. |
static java.lang.String |
listToString(java.util.List<? extends java.lang.Object> list)
|
static java.lang.String |
listToString(java.util.List<? extends java.lang.Object> list,
java.lang.Character quote,
java.lang.Character separator)
|
static java.lang.String |
subString(java.lang.String string,
int len)
substring |
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 boolean isEmpty(java.lang.String s)
s
- the string
public static java.lang.String buildString(java.lang.String... strings)
strings
- list of strings
public static java.lang.String subString(java.lang.String string, int len)
string
- base stringlen
- length of new string
public static java.lang.String listToString(java.util.List<? extends java.lang.Object> list)
public static java.lang.String listToString(java.util.List<? extends java.lang.Object> list, java.lang.Character quote, java.lang.Character separator)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |