public class ReaderInputStream
extends java.io.InputStream
Constructor and Description |
---|
ReaderInputStream(java.io.Reader reader,
java.nio.charset.Charset charset) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
int |
read() |
int |
read(byte[] ary) |
int |
read(byte[] ary,
int offset,
int length) |
public ReaderInputStream(java.io.Reader reader, java.nio.charset.Charset charset) throws java.io.IOException
java.io.IOException
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 int read() throws java.io.IOException
read
in class java.io.InputStream
java.io.IOException
public int read(byte[] ary) throws java.io.IOException
read
in class java.io.InputStream
java.io.IOException
public int read(byte[] ary, int offset, int length) throws java.io.IOException
read
in class java.io.InputStream
java.io.IOException