FreeHEP API
Version v1.2

org.freehep.util.io
Class DecompressableInputStream

java.lang.Object
  |
  +--java.io.InputStream
        |
        +--org.freehep.util.io.DecompressableInputStream
Direct Known Subclasses:
BitInputStream

public class DecompressableInputStream
extends InputStream

IMPORTANT: inherits from InputStream rather than FilterInputStream so that the correct read(byte[], int, int) method is used.

Version:
$Id: DecompressableInputStream.java,v 1.1 2003/04/19 16:48:34 duns Exp $
Author:
Mark Donszelmann

Constructor Summary
DecompressableInputStream(InputStream input)
           
 
Method Summary
 int read()
           
 long skip(long n)
           
 void startDecompressing()
           
 
Methods inherited from class java.io.InputStream
available, close, mark, markSupported, read, read, reset
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DecompressableInputStream

public DecompressableInputStream(InputStream input)
Method Detail

read

public int read()
         throws IOException
Specified by:
read in class InputStream
IOException

skip

public long skip(long n)
          throws IOException
Overrides:
skip in class InputStream
IOException

startDecompressing

public void startDecompressing()
                        throws IOException
IOException

FreeHEP API
Version v1.2

Copyright © 2000-2003 FreeHEP, All Rights Reserved.