Class LineAtATimeReader

java.lang.Object
  |
  +--java.io.Reader
        |
        +--java.io.FilterReader
              |
              +--LineAtATimeReader

public class LineAtATimeReader
extends java.io.FilterReader


Field Summary
protected  boolean eof
           
protected  boolean eol
           
protected  boolean oldEOF
           
protected  boolean oldEOL
           
protected  boolean oldSkipLF
           
protected  boolean skipLF
           
 
Fields inherited from class java.io.FilterReader
in
 
Fields inherited from class java.io.Reader
lock, maxSkipBufferSize, skipBuffer
 
Constructor Summary
LineAtATimeReader(java.io.Reader reader)
           
 
Method Summary
 void mark(int readAheadLimit)
           
 boolean nextLine()
           
 int read()
           
 int read(char[] data, int offset, int length)
           
 void reset()
           
 long skip(long amount)
           
 
Methods inherited from class java.io.FilterReader
close, markSupported, ready
 
Methods inherited from class java.io.Reader
read
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait
 

Field Detail

eol

protected boolean eol

eof

protected boolean eof

skipLF

protected boolean skipLF

oldEOF

protected boolean oldEOF

oldEOL

protected boolean oldEOL

oldSkipLF

protected boolean oldSkipLF
Constructor Detail

LineAtATimeReader

public LineAtATimeReader(java.io.Reader reader)
Method Detail

read

public int read()
         throws java.io.IOException
Overrides:
read in class java.io.FilterReader

read

public int read(char[] data,
                int offset,
                int length)
         throws java.io.IOException
Overrides:
read in class java.io.FilterReader

skip

public long skip(long amount)
          throws java.io.IOException
Overrides:
skip in class java.io.FilterReader

mark

public void mark(int readAheadLimit)
          throws java.io.IOException
Overrides:
mark in class java.io.FilterReader

reset

public void reset()
           throws java.io.IOException
Overrides:
reset in class java.io.FilterReader

nextLine

public boolean nextLine()
                 throws java.io.IOException