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, skip
close, read
public ReaderInputStream(Reader reader, String encoding) throws UnsupportedEncodingException
UnsupportedEncodingException
public ReaderInputStream(Reader reader, String encoding, int bufferSize) throws UnsupportedEncodingException
UnsupportedEncodingException
public void fill(int requestedBytes) throws IOException
PushedInputStream
fill
in class PushedInputStream
IOException