info.aduna.gee.publication.util
Class NoHistoryBufferedInputStream

java.lang.Object
  extended by java.io.InputStream
      extended by java.io.FilterInputStream
          extended by info.aduna.gee.publication.util.NoHistoryBufferedInputStream
All Implemented Interfaces:
Closeable

public class NoHistoryBufferedInputStream
extends FilterInputStream


Field Summary
protected  byte[] buf
           
protected  int maxBytes
           
protected  int nextByte
           
 
Fields inherited from class java.io.FilterInputStream
in
 
Constructor Summary
NoHistoryBufferedInputStream(InputStream in)
           
NoHistoryBufferedInputStream(InputStream in, int size)
           
 
Method Summary
protected  void fill()
           
 int read()
           
 int read(byte[] b, int off, int len)
           
 
Methods inherited from class java.io.FilterInputStream
available, close, mark, markSupported, read, reset, skip
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

nextByte

protected int nextByte

maxBytes

protected int maxBytes

buf

protected byte[] buf
Constructor Detail

NoHistoryBufferedInputStream

public NoHistoryBufferedInputStream(InputStream in)

NoHistoryBufferedInputStream

public NoHistoryBufferedInputStream(InputStream in,
                                    int size)
Method Detail

read

public int read()
         throws IOException
Overrides:
read in class FilterInputStream
Throws:
IOException

read

public int read(byte[] b,
                int off,
                int len)
         throws IOException
Overrides:
read in class FilterInputStream
Throws:
IOException

fill

protected void fill()
             throws IOException
Throws:
IOException


Copyright © 1997-2008 Aduna. All Rights Reserved.