com.sygem.jazz3d3.decompression
Class GZipDecompressor
java.lang.Object
|
+--com.sygem.jazz3d3.Decompressor
|
+--com.sygem.jazz3d3.decompression.GZipDecompressor
- public class GZipDecompressor
- extends Decompressor
Decompressor for the GZIP format. Will extract the entire contents
from any GZIP file.
NOTE: this library requires JDK1.1 or higher.
- Version:
- 3.0a
- Author:
- SyGem Software
Method Summary |
java.io.InputStream |
extractFirstEntry(java.io.InputStream i)
Extracts all of the data from a compressed input stream. |
long |
getFileSize()
Returns -1, because the size of the compressed file is not
available using this decompressor. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GZipDecompressor
public GZipDecompressor()
extractFirstEntry
public java.io.InputStream extractFirstEntry(java.io.InputStream i)
- Extracts all of the data from a compressed input stream.
- Overrides:
extractFirstEntry
in class Decompressor
getFileSize
public long getFileSize()
- Returns -1, because the size of the compressed file is not
available using this decompressor.
- Overrides:
getFileSize
in class Decompressor