Bzip2
Implements \Joomla\Archive\ExtractableInterfaceBzip2 format adapter for the Archive package
since |
1.0 |
---|
Methods
__construct
Create a new Archive object.
__construct(array|\ArrayAccess $options = array())
since |
1.0 |
---|---|
throws |
|
Arguments
- $options
array|\ArrayAccess
An array of options
extract
Extract a Bzip2 compressed file to a given path
extract(string $archive, string $destination) : boolean
since |
1.0 |
---|---|
throws |
|
Arguments
- $archive
string
Path to Bzip2 archive to extract- $destination
string
Path to extract archive to
Response
boolean
True if successful
isSupported
Tests whether this adapter can unpack files on this computer.
isSupported() : boolean
static
since |
1.0 |
---|
Response
boolean
True if supported
Properties
data
Bzip2 file data buffer
since |
1.0 |
---|
Type(s)
string
options
Holds the options array.
since |
1.0 |
---|
Type(s)
array|\ArrayAccess