edu.wisc.ssec.mcidasv.util
Class BackgroundUnzipper.CountingInputStream

java.lang.Object
  extended by java.io.InputStream
      extended by java.io.FilterInputStream
          extended by edu.wisc.ssec.mcidasv.util.BackgroundUnzipper.CountingInputStream
All Implemented Interfaces:
Closeable
Enclosing class:
BackgroundUnzipper

public static class BackgroundUnzipper.CountingInputStream
extends FilterInputStream


Field Summary
private  long totalBytes
           
 
Fields inherited from class java.io.FilterInputStream
in
 
Constructor Summary
protected BackgroundUnzipper.CountingInputStream(InputStream in)
           
 
Method Summary
 long getTotalBytesRead()
           
 int read()
           
 int read(byte[] b)
           
 int read(byte[] b, int off, int len)
           
 
Methods inherited from class java.io.FilterInputStream
available, close, mark, markSupported, reset, skip
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

totalBytes

private long totalBytes
Constructor Detail

BackgroundUnzipper.CountingInputStream

protected BackgroundUnzipper.CountingInputStream(InputStream in)
Method Detail

getTotalBytesRead

public long getTotalBytesRead()

read

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

read

public int read(byte[] b)
         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