net.cscott.sinjdoc.html
public class ReplayReader extends Reader
ReplayReader
class allows mark and replay of
selected portions of a Reader
's contents.
Version: $Id: ReplayReader.java,v 1.3 2003/05/08 03:54:25 cananian Exp $
Nested Class Summary | |
---|---|
static interface | ReplayReader.Mark An abstract object used to represent a stream position in a
ReplayReader . |
Constructor Summary | |
---|---|
ReplayReader(Reader r) Creates a ReplayReader . |
Method Summary | |
---|---|
void | close() |
ReplayReader.Mark | getMark() Returns a Mark representing the current stream position. |
void | mark(int ignore) |
boolean | markSupported() |
int | read(char[] cbuf, int off, int len) |
boolean | ready() |
void | reset() |
void | reset(ReplayReader.Mark m) Reset the stream to the position of the given Mark . |
ReplayReader
.Mark
representing the current stream position.Returns: true
Mark
.