Class iicm.vrml.pw.DecompressionStream
All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class iicm.vrml.pw.DecompressionStream

java.lang.Object
   |
   +----java.io.InputStream
           |
           +----java.io.FilterInputStream
                   |
                   +----iicm.vrml.pw.DecompressionStream

public class DecompressionStream
extends FilterInputStream

Variable Index

 o COMPRESSION_MAGIC
magic number of compressed files

Constructor Index

 o DecompressionStream(String)
check whether the InputStream contains compressed data.

Method Index

 o close()
on close also destroy subprocess in case it is still running

Variables

 o COMPRESSION_MAGIC
  public final static int COMPRESSION_MAGIC
magic number of compressed files

Constructors

 o DecompressionStream
  public DecompressionStream(String filename) throws IOException
check whether the InputStream contains compressed data. In this case execute gunzip and return a stream of decompressed data. If executing gunzip fails (e.g. not allowed for applets) or the input data were not compressed, the original InputStream is returned unchanged. Only works for standalone applications.

Methods

 o close
  public void close() throws IOException
on close also destroy subprocess in case it is still running
Overrides:
close in class FilterInputStream

All Packages  Class Hierarchy  This Package  Previous  Next  Index