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