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) |
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.InputStreampublic void close()
throws java.io.IOException
close in interface java.io.Closeableclose in interface java.lang.AutoCloseableclose in class java.io.InputStreamjava.io.IOExceptionpublic java.lang.String getEncoding()
public int read()
throws java.io.IOException
read in class java.io.InputStreamjava.io.IOExceptionpublic int read(byte[] bytes)
throws java.io.IOException
read in class java.io.InputStreamjava.io.IOExceptionpublic int read(byte[] bytes,
int offset,
int length)
throws java.io.IOException
read in class java.io.InputStreamjava.io.IOExceptionpublic long skip(long length)
throws java.io.IOException
skip in class java.io.InputStreamjava.io.IOException