public class RewindableReader extends Reader implements Rewindable
| Constructor and Description |
|---|
RewindableReader(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 RewindableReader(Reader in)
public void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableclose in class ReaderIOExceptionpublic void rewind()
rewind in interface Rewindablepublic boolean canRewind()
canRewind in interface Rewindablepublic void willNotRewind()
willNotRewind in interface Rewindablepublic int read()
throws IOException
read in class ReaderIOExceptionpublic int read(char[] b,
int off,
int len)
throws IOException
read in class ReaderIOException