\JArchiveTar
Tar 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 JArchiveTar
implements
JArchiveExtractable
{
- // members
- private $_types;
- private $_data;
- private $_metadata;
- // methods
- public boolean extract()
- public static boolean isSupported()
- protected array _getTarInfo()
Hierarchy
Implements
Members
private
- $_data
—
string
Tar file data buffer - $_metadata
—
array
Tar file metadata array - $_types
—
array
Tar file types.
Methods
protected
- _getTarInfo() — Get the list of files/data from a Tar archive buffer.
public
- extract() — Extract a ZIP compressed file to a given path
- isSupported() — Tests whether this adapter can unpack files on this computer.