org.jgroups.util
public class ExposedBufferedInputStream extends BufferedInputStream
Version: $Id: ExposedBufferedInputStream.java,v 1.3 2005/07/25 16:57:31 belaban Exp $
| Constructor Summary | |
|---|---|
| ExposedBufferedInputStream(InputStream in)
Creates a BufferedInputStream
and saves its argument, the input stream
in, for later use. | |
| ExposedBufferedInputStream(InputStream in, int size)
Creates a BufferedInputStream
with the specified buffer size,
and saves its argument, the input stream
in, for later use. | |
| Method Summary | |
|---|---|
| void | reset(int size) |
BufferedInputStream
and saves its argument, the input stream
in, for later use. An internal
buffer array is created and stored in buf.
Parameters: in the underlying input stream.
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.
Parameters: in the underlying input stream. size the buffer size.
Throws: IllegalArgumentException if size <= 0.