|
Buglet - buglet.sourceforge.org | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object | +--org.buglet.util.StringParser
This class takes in two strings and seperates the first string on instances of the second one.
| Field Summary | |
(package private) static org.apache.log4j.Category |
log
|
(package private) int |
num
int containing number of positions in the return array |
(package private) java.lang.String[] |
returnVal
Array containing the return val in array form |
| Constructor Summary | |
StringParser(java.lang.String target,
java.lang.String delim)
Constructor, parses the target String into the array using delim as a delimeter. |
|
| Method Summary | |
java.lang.String |
get(int pos)
|
java.lang.String[] |
getArray()
This method returns the parsed String in a String[] form |
int |
getCount()
This method returns the number of occurances of the delimeter |
static void |
main(java.lang.String[] args)
|
| Methods inherited from class java.lang.Object |
|
| Field Detail |
static org.apache.log4j.Category log
java.lang.String[] returnVal
int num
| Constructor Detail |
public StringParser(java.lang.String target,
java.lang.String delim)
target - delim - | Method Detail |
public java.lang.String get(int pos)
public java.lang.String[] getArray()
public int getCount()
public static void main(java.lang.String[] args)
|
Buglet - buglet.sourceforge.org | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||