public final class StringUtils extends Object
| Modifier and Type | Method and Description |
|---|---|
static void |
assertQualifiedArgument(String attribute) |
static void |
assertQualifiedArgument(String attribute,
String attributeName) |
static String |
blankString(int length)
Creates an empty string of given length.
|
static String |
getLastToken(String value,
String delimiter)
Gets the last token for spcefied dlimiter and string.
|
static boolean |
isQualifiedString(String str)
Checks whether the string is a qualified string or not.
|
static void |
main(String[] args) |
static String |
objectArrayToString(Object[] objectArray) |
public static void assertQualifiedArgument(String attribute, String attributeName)
public static void assertQualifiedArgument(String attribute)
public static final boolean isQualifiedString(String str)
str - the string to inspect.true is the string is qualified false otherwise.public static final String blankString(int length)
length - the length of string.public static final String getLastToken(String value, String delimiter)
value - the string to parsedelimiter - the delimiter used for parsing.public static void main(String[] args)