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) |
public ReaderInputStream(Reader reader)
public ReaderInputStream(Reader reader, String charsetName)
public ReaderInputStream(Reader reader, String charsetName, int inputBufferSize, int outputBufferSize)
public int available()
available
in class InputStream
public void close() throws IOException
close
in interface Closeable
close
in interface AutoCloseable
close
in class InputStream
IOException
public String getEncoding()
public int read() throws IOException
read
in class InputStream
IOException
public int read(byte[] bytes) throws IOException
read
in class InputStream
IOException
public int read(byte[] bytes, int offset, int length) throws IOException
read
in class InputStream
IOException
public long skip(long length) throws IOException
skip
in class InputStream
IOException