|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.glassfish.pfl.basic.tools.file.StringParser
public class StringParser
| Constructor Summary | |
|---|---|
StringParser(String str)
|
|
| Method Summary | |
|---|---|
String |
parseInt()
Return int matched at current position as a string. |
boolean |
skipString(String str)
skip over str, if str is at the current position. |
boolean |
skipToString(String str)
skip everything until str is found. |
boolean |
skipWhitespace()
Skip over whitespace. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public StringParser(String str)
| Method Detail |
|---|
public boolean skipToString(String str)
str - String for which we are looking
public boolean skipString(String str)
string - to skip (must be at current position)
public boolean skipWhitespace()
public String parseInt()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||