public class ReaderInputStream
extends java.io.InputStream
Constructor and Description |
---|
ReaderInputStream(java.io.Reader reader) |
ReaderInputStream(java.io.Reader reader,
java.lang.String charsetName) |
ReaderInputStream(java.io.Reader reader,
java.lang.String charsetName,
int inputBufferSize,
int outputBufferSize) |
Modifier and Type | Method and Description |
---|---|
int |
available() |
void |
close() |
java.lang.String |
getEncoding() |
int |
read() |
int |
read(byte[] bytes) |
int |
read(byte[] bytes,
int offset,
int length) |
long |
skip(long length) |
public ReaderInputStream(java.io.Reader reader)
public ReaderInputStream(java.io.Reader reader, java.lang.String charsetName)
public ReaderInputStream(java.io.Reader reader, java.lang.String charsetName, int inputBufferSize, int outputBufferSize)
public int available()
available
in class java.io.InputStream
public void close() throws java.io.IOException
close
in interface java.io.Closeable
close
in interface java.lang.AutoCloseable
close
in class java.io.InputStream
java.io.IOException
public java.lang.String getEncoding()
public int read() throws java.io.IOException
read
in class java.io.InputStream
java.io.IOException
public int read(byte[] bytes) throws java.io.IOException
read
in class java.io.InputStream
java.io.IOException
public int read(byte[] bytes, int offset, int length) throws java.io.IOException
read
in class java.io.InputStream
java.io.IOException
public long skip(long length) throws java.io.IOException
skip
in class java.io.InputStream
java.io.IOException