dwvisser
Class ColumnarTextReader

java.lang.Object
  |
  +--java.io.Reader
        |
        +--java.io.InputStreamReader
              |
              +--dwvisser.ColumnarTextReader

public class ColumnarTextReader
extends java.io.InputStreamReader

Class for reading in spreadsheet-style text files.


Field Summary
 
Fields inherited from class java.io.Reader
lock
 
Constructor Summary
ColumnarTextReader(java.io.InputStream is)
           
 
Method Summary
 void nextLine()
           
 double readDouble(int len)
           
 int readInt(int len)
           
 java.lang.String readString(int len)
           
 void skipChars(int len)
           
 
Methods inherited from class java.io.InputStreamReader
close, getEncoding, read, read, ready
 
Methods inherited from class java.io.Reader
mark, markSupported, read, reset, skip
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ColumnarTextReader

public ColumnarTextReader(java.io.InputStream is)
                   throws java.io.FileNotFoundException,
                          java.io.IOException
Method Detail

nextLine

public void nextLine()
              throws java.io.IOException
java.io.IOException

readString

public java.lang.String readString(int len)
                            throws java.io.IOException
java.io.IOException

readInt

public int readInt(int len)
            throws java.io.IOException
java.io.IOException

readDouble

public double readDouble(int len)
                  throws java.io.IOException
java.io.IOException

skipChars

public void skipChars(int len)
               throws java.io.IOException
java.io.IOException