public class ReaderInputStream extends InputStream
| Constructor and Description |
|---|
ReaderInputStream(Reader reader) |
ReaderInputStream(Reader reader,
String charsetName) |
ReaderInputStream(Reader reader,
String charsetName,
int inputBufferSize,
int outputBufferSize) |
| Modifier and Type | Method and Description |
|---|---|
int |
available() |
void |
close() |
String |
getEncoding() |
int |
read() |
int |
read(byte[] bytes) |
int |
read(byte[] bytes,
int offset,
int length) |
long |
skip(long length) |
mark, markSupported, resetpublic ReaderInputStream(Reader reader)
public int available()
available in class InputStreampublic void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableclose in class InputStreamIOExceptionpublic String getEncoding()
public int read()
throws IOException
read in class InputStreamIOExceptionpublic int read(byte[] bytes)
throws IOException
read in class InputStreamIOExceptionpublic int read(byte[] bytes,
int offset,
int length)
throws IOException
read in class InputStreamIOExceptionpublic long skip(long length)
throws IOException
skip in class InputStreamIOException