com.topcoder.shared.problem
Class DataValueReader

java.lang.Object
  |
  +--com.topcoder.shared.problem.DataValueReader

public class DataValueReader
extends java.lang.Object


Constructor Summary
DataValueReader(java.io.Reader reader)
           
DataValueReader(java.io.Reader reader, int line, int column)
           
DataValueReader(java.lang.String text)
           
DataValueReader(java.lang.String text, int line, int column)
           
 
Method Summary
 void exception(java.lang.String message)
           
 int read()
           
 int read(boolean errorOnEOF)
           
 void skipWhitespace()
           
 void unread(int c)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DataValueReader

public DataValueReader(java.lang.String text)
                throws java.io.IOException

DataValueReader

public DataValueReader(java.lang.String text,
                       int line,
                       int column)
                throws java.io.IOException

DataValueReader

public DataValueReader(java.io.Reader reader)
                throws java.io.IOException

DataValueReader

public DataValueReader(java.io.Reader reader,
                       int line,
                       int column)
                throws java.io.IOException
Method Detail

exception

public void exception(java.lang.String message)
               throws DataValueParseException
DataValueParseException

read

public int read()
         throws java.io.IOException,
                DataValueParseException
java.io.IOException
DataValueParseException

read

public int read(boolean errorOnEOF)
         throws java.io.IOException,
                DataValueParseException
java.io.IOException
DataValueParseException

unread

public void unread(int c)
            throws java.io.IOException
java.io.IOException

skipWhitespace

public void skipWhitespace()
                    throws java.io.IOException,
                           DataValueParseException
java.io.IOException
DataValueParseException