| java.io.BufferedInputStream org.jgroups.util.ExposedBufferedInputStream
ExposedBufferedInputStream | public class ExposedBufferedInputStream extends BufferedInputStream (Code) | | author: Bela Ban version: $Id: ExposedBufferedInputStream.java,v 1.3 2005/07/25 16:57:31 belaban Exp $ |
Method Summary | |
public void | reset(int size) |
ExposedBufferedInputStream | public ExposedBufferedInputStream(InputStream in)(Code) | | Creates a 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. |
ExposedBufferedInputStream | public ExposedBufferedInputStream(InputStream in, int size)(Code) | | Creates a 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. Parameters: size - the buffer size. throws: IllegalArgumentException - if size <= 0. |
reset | public void reset(int size)(Code) | | |
|
|