Jazz3D API


com.sygem.jazz3d3.decompression
Class ZipDecompressor

java.lang.Object
  |
  +--com.sygem.jazz3d3.Decompressor
        |
        +--com.sygem.jazz3d3.decompression.ZipDecompressor

public class ZipDecompressor
extends Decompressor

Decompressor for the ZIP format. Will extract the first file from any ZIP file.

NOTE: this library requires JDK1.1 or higher.

Version:
3.0a
Author:
SyGem Software

Constructor Summary
ZipDecompressor()
           
 
Method Summary
 java.io.InputStream extractFirstEntry(java.io.InputStream i)
          Extracts the first entry from a compressed input stream.
 long getFileSize()
          Get the size of the first file in the compressed stream.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ZipDecompressor

public ZipDecompressor()
Method Detail

extractFirstEntry

public java.io.InputStream extractFirstEntry(java.io.InputStream i)
Extracts the first entry from a compressed input stream.
Overrides:
extractFirstEntry in class Decompressor

getFileSize

public long getFileSize()
Get the size of the first file in the compressed stream.
Overrides:
getFileSize in class Decompressor

©2001 SyGem Software