Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.jgroups.util
Class ExposedBufferedInputStream  view ExposedBufferedInputStream download ExposedBufferedInputStream.java

java.lang.Object
  extended byjava.io.InputStream
      extended byjava.io.FilterInputStream
          extended byjava.io.BufferedInputStream
              extended byorg.jgroups.util.ExposedBufferedInputStream
All Implemented Interfaces:
java.io.Closeable

public class ExposedBufferedInputStream
extends java.io.BufferedInputStream

Version:
$Id: ExposedBufferedInputStream.java,v 1.3 2005/07/25 16:57:31 belaban Exp $

Field Summary
private static org.apache.commons.logging.Log log
           
 
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
 

Field Detail

log

private static final org.apache.commons.logging.Log log
Constructor Detail

ExposedBufferedInputStream

public ExposedBufferedInputStream(java.io.InputStream in)
Creates a BufferedInputStream and saves its argument, the input stream in, for later use. An internal buffer array is created and stored in buf.


ExposedBufferedInputStream

public 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. An internal buffer array of length size is created and stored in buf.

Method Detail

reset

public void reset(int size)