Package net.orbyfied.j8.util
Class StringReader
java.lang.Object
net.orbyfied.j8.util.StringReader
A class to help with reading/parsing
strings.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
DONE
public static final char DONECharacter to indicate EOF.- See Also:
-
-
Constructor Details
-
StringReader
-
-
Method Details
-
clamp
public int clamp(int index) -
peekAt
public char peekAt(int i) -
peek
public char peek(int i) -
next
public char next() -
next
public char next(int a) -
prev
public char prev() -
prev
public char prev(int a) -
current
public char current() -
collect
-
collect
-
collect
-
collect
-
collect
-
pcollect
-
pcollect
-
split
-
index
public int index() -
index
-
getString
-
subForward
-
subFrom
-
branch
-