class JArchiveBzip2 implements JArchiveExtractable

Bzip2 format adapter for the JArchive class

Methods

boolean
extract( string $archive, string $destination, array $options = array())

Extract a Bzip2 compressed file to a given path

static  boolean
isSupported()

Tests whether this adapter can unpack files on this computer.

Details

boolean extract( string $archive, string $destination, array $options = array())

Extract a Bzip2 compressed file to a given path

Parameters

string $archive Path to archive to extract
string $destination Path to extract archive to
array $options Extraction options [may be unused]

Return Value

boolean True if successful

Exceptions

RuntimeException

static boolean isSupported()

Tests whether this adapter can unpack files on this computer.

Return Value

boolean True if supported