|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.io.InputStream
java.io.FilterInputStream
java.io.BufferedInputStream
org.jgroups.util.ExposedBufferedInputStream
Field Summary |
Fields inherited from class java.io.BufferedInputStream |
buf, count, marklimit, markpos, pos |
Fields inherited from class java.io.FilterInputStream |
in |
Constructor Summary | |
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. |
Method Summary | |
void |
reset(int size)
|
Methods inherited from class java.io.BufferedInputStream |
available, close, mark, markSupported, read, read, reset, skip |
Methods inherited from class java.io.FilterInputStream |
read |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
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.Method Detail |
public void reset(int size)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |