public class RewindableReader extends java.io.Reader implements Rewindable
Constructor and Description |
---|
RewindableReader(java.io.Reader in) |
Modifier and Type | Method and Description |
---|---|
boolean |
canRewind() |
void |
close() |
int |
read() |
int |
read(char[] b,
int off,
int len) |
void |
rewind() |
void |
willNotRewind() |
public void close() throws java.io.IOException
close
in interface java.io.Closeable
close
in interface java.lang.AutoCloseable
close
in class java.io.Reader
java.io.IOException
public void rewind()
rewind
in interface Rewindable
public boolean canRewind()
canRewind
in interface Rewindable
public void willNotRewind()
willNotRewind
in interface Rewindable
public int read() throws java.io.IOException
read
in class java.io.Reader
java.io.IOException
public int read(char[] b, int off, int len) throws java.io.IOException
read
in class java.io.Reader
java.io.IOException