@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 FilterReader
IOException
public int read(char[] cbuf, int poff, int plen) throws IOException
read
in class FilterReader
IOException
public void unread(int c) throws IOException
IOException
public void unread(char[] cbuf, int off, int len) throws IOException
IOException
public void unread(char[] cbuf) throws IOException
IOException
public boolean ready() throws IOException
ready
in class FilterReader
IOException
public void mark(int readAheadLimit) throws IOException
mark
in class FilterReader
IOException
public void reset() throws IOException
reset
in class FilterReader
IOException
public boolean markSupported()
markSupported
in class FilterReader
@DischargesObligation public void close() throws IOException
close
in interface Closeable
close
in interface AutoCloseable
close
in class FilterReader
IOException
public long skip(long pn) throws IOException
skip
in class FilterReader
IOException
Copyright © 2018 SPF4J. All rights reserved.