public class StringParser extends Object
| Constructor and Description |
|---|
StringParser(String str) |
| Modifier and Type | Method and Description |
|---|---|
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.
|
public StringParser(String str)
public boolean skipToString(String str)
str - String for which we are lookingpublic boolean skipString(String str)
str - to skip (must be at current position)public boolean skipWhitespace()
public String parseInt()
Copyright © 2011–2024 Eclipse Foundation. All rights reserved.