public class ExposedBufferedInputStream
extends java.io.BufferedInputStream
| Constructor and Description |
|---|
ExposedBufferedInputStream(java.io.InputStream in)
Creates a
BufferedInputStream
and saves its argument, the input stream
in, for later use. |
ExposedBufferedInputStream(java.io.InputStream in,
int size)
Creates a
BufferedInputStream
with the specified buffer size,
and saves its argument, the input stream
in, for later use. |
| Modifier and Type | Method and Description |
|---|---|
void |
reset(int size) |
public ExposedBufferedInputStream(java.io.InputStream in)
BufferedInputStream
and saves its argument, the input stream
in, for later use. An internal
buffer array is created and stored in buf.in - the underlying input stream.public ExposedBufferedInputStream(java.io.InputStream in,
int size)
BufferedInputStream
with the specified buffer size,
and saves its argument, the input stream
in, for later use. An internal
buffer array of length size
is created and stored in buf.in - the underlying input stream.size - the buffer size.java.lang.IllegalArgumentException - if size <= 0.Copyright ? 1998-2008 Bela Ban. All Rights Reserved.