@CleanupObligation public final class PushbackReader extends FilterReader
in| Constructor and Description |
|---|
PushbackReader(Reader in) |
PushbackReader(Reader in,
int size) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
void |
mark(int readAheadLimit) |
boolean |
markSupported() |
int |
read() |
int |
read(char[] cbuf,
int poff,
int plen) |
boolean |
ready() |
void |
reset() |
long |
skip(long pn) |
String |
toString() |
void |
unread(char[] cbuf) |
void |
unread(char[] cbuf,
int off,
int len) |
void |
unread(int c) |
public PushbackReader(Reader in, int size)
public PushbackReader(Reader in)
public int read()
throws IOException
read in class FilterReaderIOExceptionpublic int read(char[] cbuf,
int poff,
int plen)
throws IOException
read in class FilterReaderIOExceptionpublic void unread(int c)
throws IOException
IOExceptionpublic void unread(char[] cbuf,
int off,
int len)
throws IOException
IOExceptionpublic void unread(char[] cbuf)
throws IOException
IOExceptionpublic boolean ready()
throws IOException
ready in class FilterReaderIOExceptionpublic void mark(int readAheadLimit)
throws IOException
mark in class FilterReaderIOExceptionpublic void reset()
throws IOException
reset in class FilterReaderIOExceptionpublic boolean markSupported()
markSupported in class FilterReader@DischargesObligation
public void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableclose in class FilterReaderIOExceptionpublic long skip(long pn)
throws IOException
skip in class FilterReaderIOExceptionCopyright © 2018 SPF4J. All rights reserved.