public class PushbackReader extends FilterReader
in
Constructor and Description |
---|
PushbackReader(Reader reader) |
PushbackReader(Reader reader,
int i) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
boolean |
markSupported() |
int |
read() |
int |
read(char[] ac,
int i,
int j) |
boolean |
ready() |
void |
unread(char[] ac) |
void |
unread(char[] ac,
int i,
int j) |
void |
unread(int i) |
mark, reset, skip
public PushbackReader(Reader reader)
reader
- ?public PushbackReader(Reader reader, int i)
reader
- ?i
- ?public void close() throws IOException
close
in class FilterReader
IOException
- ?public boolean markSupported()
markSupported
in class FilterReader
public int read() throws IOException
read
in class FilterReader
IOException
- ?public int read(char[] ac, int i, int j) throws IOException
read
in class FilterReader
ac
- ?i
- ?j
- ?IOException
- ?public boolean ready() throws IOException
ready
in class FilterReader
IOException
- ?public void unread(int i) throws IOException
i
- ?IOException
- ?public void unread(char[] ac) throws IOException
ac
- ?IOException
- ?public void unread(char[] ac, int i, int j) throws IOException
ac
- ?i
- ?j
- ?IOException
- ?