@Deprecated public class ReaderInputStream extends InputStream
Modifier and Type | Field and Description |
---|---|
protected byte[] |
buffer
Deprecated.
|
protected ByteArrayOutputStream |
byteArrayOut
Deprecated.
|
protected char[] |
chars
Deprecated.
|
protected int |
index
Deprecated.
|
protected int |
length
Deprecated.
|
protected Reader |
reader
Deprecated.
|
protected Writer |
writer
Deprecated.
|
Constructor and Description |
---|
ReaderInputStream(Reader reader)
Deprecated.
|
ReaderInputStream(Reader reader,
String encoding)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
int |
available()
Deprecated.
|
void |
close()
Deprecated.
|
protected void |
fillBuffer()
Deprecated.
|
int |
read()
Deprecated.
|
int |
read(byte[] data,
int off,
int len)
Deprecated.
|
mark, markSupported, read, reset, skip
protected Reader reader
protected ByteArrayOutputStream byteArrayOut
protected Writer writer
protected char[] chars
protected byte[] buffer
protected int index
protected int length
public ReaderInputStream(Reader reader)
public ReaderInputStream(Reader reader, String encoding) throws UnsupportedEncodingException
UnsupportedEncodingException
public int read() throws IOException
read
in class InputStream
IOException
protected void fillBuffer() throws IOException
IOException
public int read(byte[] data, int off, int len) throws IOException
read
in class InputStream
IOException
public int available() throws IOException
available
in class InputStream
IOException
public void close() throws IOException
close
in interface Closeable
close
in interface AutoCloseable
close
in class InputStream
IOException