public class ReaderInputStream extends PushedInputStream
| Modifier and Type | Field and Description |
|---|---|
static int |
defaultBufferSize |
marklimit, markpos, outputStream, readpos, writepos| Constructor and Description |
|---|
ReaderInputStream(Reader reader,
String encoding) |
ReaderInputStream(Reader reader,
String encoding,
int bufferSize) |
| Modifier and Type | Method and Description |
|---|---|
void |
fill(int requestedBytes)
Called when more bytes need to be written into this stream
(as an OutputStream).
|
available, getOutputStream, mark, markSupported, read, read, reset, skipclose, readpublic static final int defaultBufferSize
public ReaderInputStream(Reader reader, String encoding) throws UnsupportedEncodingException
UnsupportedEncodingExceptionpublic ReaderInputStream(Reader reader, String encoding, int bufferSize) throws UnsupportedEncodingException
UnsupportedEncodingExceptionpublic void fill(int requestedBytes)
throws IOException
PushedInputStreamfill in class PushedInputStreamIOException