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

Class iicm.vrml.pw.Decompression

java.lang.Object
   |
   +----iicm.vrml.pw.Decompression

public class Decompression
extends Object

Variable Index

 o COMPRESSION_MAGIC
magic number of compressed files

Method Index

 o cmdToString(String)
 o cmdToString(String[])
 o filter(String)
check whether the InputStream contains compressed data.

Variables

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

Methods

 o filter
  public static InputStream filter(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.
 o cmdToString
  public final static String cmdToString(String arr[])
 o cmdToString
  public final static String cmdToString(String s)

All Packages  Class Hierarchy  This Package  Previous  Next  Index