com.go.tea.io
Class PositionReader

java.lang.Object
  |
  +--java.io.Reader
        |
        +--java.io.FilterReader
              |
              +--com.go.trove.io.PositionReader
                    |
                    +--com.go.tea.io.PositionReader
Direct Known Subclasses:
EscapeReader, LinePositionReader, PushbackPositionReader

Deprecated. Moved to com.go.trove.io package.

public class PositionReader
extends PositionReader

The PositionReader tracks the postion in the stream of the next character to be read. PositionReaders chain together such that the position is read from the earliest PositionReader in the chain.

Position readers automatically close the underlying input stream when the end of file is reached. Ordinary input streams don't do this.

Version:
15 , 00/12/13
Author:
Brian S O'Neill

Fields inherited from class com.go.trove.io.PositionReader
mPosition, mPosReader
 
Fields inherited from class java.io.FilterReader
in
 
Fields inherited from class java.io.Reader
lock
 
Constructor Summary
PositionReader(java.io.Reader reader)
          Deprecated.  
 
Methods inherited from class com.go.trove.io.PositionReader
close, getNextPosition, read, read
 
Methods inherited from class java.io.FilterReader
mark, markSupported, 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

PositionReader

public PositionReader(java.io.Reader reader)
Deprecated.