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
   
  -   COMPRESSION_MAGIC COMPRESSION_MAGIC
-  magic number of compressed files
   
  -   DecompressionStream(String) DecompressionStream(String)
-  check whether the InputStream contains compressed data.
   
  -   close() close()
-  on close also destroy subprocess in case it is still running
   
 COMPRESSION_MAGIC
COMPRESSION_MAGIC
  public final static int COMPRESSION_MAGIC
  -  magic number of compressed files
   
 DecompressionStream
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.
   
 close
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