org.objectweb.jac.util.preparse
Class ParseInput

java.lang.Object
  extended byjava.io.Reader
      extended byjava.io.BufferedReader
          extended byorg.objectweb.jac.util.preparse.ParseInput

public class ParseInput
extends BufferedReader


Field Summary
 
Fields inherited from class java.io.Reader
lock
 
Constructor Summary
ParseInput(Reader in)
           
ParseInput(Reader in, int sz)
           
 
Method Summary
 boolean isModified()
           
 String readLine()
          Returns the next line from the input
 String skipTo(int i, 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
 

Constructor Detail

ParseInput

public ParseInput(Reader in)

ParseInput

public ParseInput(Reader in,
                  int sz)
Method Detail

readLine

public String readLine()
                throws IOException
Returns the next line from the input

Throws:
IOException

isModified

public boolean isModified()

skipTo

public String skipTo(int i,
                     String token)
              throws IOException
Skips input until a token is found.

Parameters:
token - skip until this string is found in the input
Throws:
IOException