org.objectweb.jac.util.preparse
Class ParseInput
java.lang.Object
|
+--java.io.Reader
|
+--java.io.BufferedReader
|
+--org.objectweb.jac.util.preparse.ParseInput
- public class ParseInput
- extends java.io.BufferedReader
Fields inherited from class java.io.Reader |
lock |
Method Summary |
boolean |
isModified()
|
java.lang.String |
readLine()
Returns the next line from the input |
java.lang.String |
skipTo(int i,
java.lang.String token)
Skips input until a token is found. |
Methods inherited from class java.io.BufferedReader |
close, mark, markSupported, read, read, ready, reset, skip |
Methods inherited from class java.io.Reader |
read |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ParseInput
public ParseInput(java.io.Reader in)
ParseInput
public ParseInput(java.io.Reader in,
int sz)
readLine
public java.lang.String readLine()
throws java.io.IOException
- Returns the next line from the input
- Overrides:
readLine
in class java.io.BufferedReader
java.io.IOException
isModified
public boolean isModified()
skipTo
public java.lang.String skipTo(int i,
java.lang.String token)
throws java.io.IOException
- Skips input until a token is found.
- Parameters:
token
- skip until this string is found in the input
java.io.IOException