\JArchiveGzip
Gzip format adapter for the JArchive class
This class is inspired from and draws heavily in code and concept from the Compress package of
The Horde Project <http://www.horde.org>
Synopsis
class JArchiveGzip
implements
JArchiveExtractable
{
- // methods
- public boolean extract()
- public static boolean isSupported()
- public integer _getFilePosition()
Hierarchy
Implements
Members
private
- $_data
—
string
Gzip file data buffer - $_flags
—
array
Gzip file flags.
Methods
public
- _getFilePosition() — Get file data offset for archive
- extract() — Extract a Gzip compressed file to a given path
- isSupported() — Tests whether this adapter can unpack files on this computer.