Closeable, AutoCloseable, Readablepublic class PumpReader extends Reader
| Constructor | Description |
|---|---|
PumpReader() |
|
PumpReader(int bufferSize) |
| Modifier and Type | Method | Description |
|---|---|---|
int |
available() |
|
void |
close() |
|
InputStream |
createInputStream(Charset charset) |
|
Writer |
getWriter() |
|
int |
read() |
|
int |
read(char[] cbuf,
int off,
int len) |
|
int |
read(CharBuffer target) |
|
boolean |
ready() |
mark, markSupported, nullReader, read, reset, skip, transferTopublic Writer getWriter()
public InputStream createInputStream(Charset charset)
public int available()
public int read()
throws IOException
read in class ReaderIOExceptionpublic int read(char[] cbuf,
int off,
int len)
throws IOException
read in class ReaderIOExceptionpublic int read(CharBuffer target) throws IOException
read in interface Readableread in class ReaderIOExceptionpublic void close()
throws IOException
close in interface AutoCloseableclose in interface Closeableclose in class ReaderIOExceptionCopyright © 2020. All rights reserved.