com.sygem.jazz3d3
Class Decompressor

java.lang.Object
  extended bycom.sygem.jazz3d3.Decompressor

public abstract class Decompressor
extends java.lang.Object

General purpose abstract class representing a decompressor.

Subclasses should provide concrete implementations of at least the 2 methods provided here.

Version:
3.0a

Constructor Summary
Decompressor()
           
 
Method Summary
abstract  java.io.InputStream extractFirstEntry(java.io.InputStream i)
          Extracts the first entry from a compressed input stream.
abstract  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

Decompressor

public Decompressor()
Method Detail

extractFirstEntry

public abstract java.io.InputStream extractFirstEntry(java.io.InputStream i)
Extracts the first entry from a compressed input stream. The result must be another input stream.


getFileSize

public abstract long getFileSize()
Get the size of the first file in the compressed stream. If it is not possible to determine this value, the decompressor should return -1.



Copyright © 1999-2006 SyGem Software. All Rights Reserved.