|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.wdssii.core.StringUtil
public class StringUtil
Constructor Summary | |
---|---|
StringUtil()
|
Method Summary | |
---|---|
static int |
find_first_not_of(String s,
char sep,
int start)
returns s.length() if all characters are sep. |
static int |
find_first_of(String s,
char sep,
int start)
returns s.length() if no characters are sep. |
static List<String> |
split(String s)
splits the input string into an array of strings assuming they are space-separated |
static List<String> |
split(String s,
char sep)
splits the input string into an array of strings. |
static List<String> |
splitOnFirst(String s,
char sep)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public StringUtil()
Method Detail |
---|
public static int find_first_of(String s, char sep, int start)
public static int find_first_not_of(String s, char sep, int start)
public static List<String> split(String s)
public static List<String> split(String s, char sep)
public static List<String> splitOnFirst(String s, char sep)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |