public class StringUtil extends Object
| Modifier and Type | Method and Description |
|---|---|
static boolean |
doesPathContainParentPathSegment(String path)
Does the path contain a path-segment that is "..".
|
static boolean |
isEmpty(String str) |
static void |
main(String[] args) |
static String[] |
tokenStringToArray(String tokenizedString,
String token)
Tokenize a string and return a String Array of the values seperated by the passed in token.
|
public static String[] tokenStringToArray(String tokenizedString, String token)
tokenizedString - The string to parse. If this is null, null will be returned.token - The token used as a seperator. if this is null, the fill string will be returned in a 1 element arraypublic static boolean doesPathContainParentPathSegment(String path)
path - Stringpublic static void main(String[] args)
public static boolean isEmpty(String str)