| Modifier and Type | Field and Description |
|---|---|
| private char | |
| private String | |
| private int |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| private boolean | |
| public String | |
| private void | |
| public boolean | Returns: whether or not str was at current positionto skip (must be at current position) str)skip over str, if str is at the current position. |
| public boolean | Returns: whether or not str was foundString for which we are looking str)skip everything until str is found. |
| public boolean |
| current | back to summary |
|---|---|
| private char current | |
| data | back to summary |
|---|---|
| private String data | |
| pos | back to summary |
|---|---|
| private int pos | |
| StringParser | back to summary |
|---|---|
| public StringParser(String str) | |
| next | back to summary |
|---|---|
| private boolean next() | |
| parseInt | back to summary |
|---|---|
| public String parseInt() Return int matched at current position as a string. | |
| setPos | back to summary |
|---|---|
| private void setPos(int newPos) | |
| skipString | back to summary |
|---|---|
| public boolean skipString(String str) skip over str, if str is at the current position.
| |
| skipToString | back to summary |
|---|---|
| public boolean skipToString(String str) skip everything until str is found. Returns true if found, otherwise false.
| |
| skipWhitespace | back to summary |
|---|---|
| public boolean skipWhitespace() Skip over whitespace. Returns true if some whitespace skipped.
| |