public class StringParser
extends java.lang.Object
| Constructor and Description |
|---|
StringParser(java.lang.String str) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
parseInt()
Return int matched at current position as a string.
|
boolean |
skipString(java.lang.String str)
skip over str, if str is at the current position.
|
boolean |
skipToString(java.lang.String str)
skip everything until str is found.
|
boolean |
skipWhitespace()
Skip over whitespace.
|
public boolean skipToString(java.lang.String str)
str - String for which we are lookingpublic boolean skipString(java.lang.String str)
string - to skip (must be at current position)public boolean skipWhitespace()
public java.lang.String parseInt()