FreeHEP API
Version current

org.freehep.util.io
Class DecompressableInputStream

java.lang.Object
  extended byjava.io.InputStream
      extended byorg.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
Source Code:
DecompressableInputStream.java

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
Throws:
IOException

skip

public long skip(long n)
          throws IOException
Throws:
IOException

startDecompressing

public void startDecompressing()
                        throws IOException
Throws:
IOException

FreeHEP API
Version current

Copyright © 2000-2004 FreeHEP, All Rights Reserved.