Class JArchiveBzip2

Description

Implements interfaces:

Bzip2 format adapter for the JArchive class

  • since: 11.1

Located in /libraries/joomla/archive/bzip2.php (line 22)


	
			
Method Summary
 static boolean isSupported ()
 boolean extract (string $archive, string $destination, [array $options = array ()])
Methods
static isSupported (line 178)

Tests whether this adapter can unpack files on this computer.

  • return: True if supported
  • since: 11.3
  • access: public
static boolean isSupported ()

Implementation of:
JArchiveExtractable::isSupported()
Tests whether this adapter can unpack files on this computer.
extract (line 44)

Extract a Bzip2 compressed file to a given path

  • return: True if successful
  • since: 11.1
  • throws: RuntimeException
  • access: public
boolean extract (string $archive, string $destination, [array $options = array ()])
  • string $archive: Path to Bzip2 archive to extract
  • string $destination: Path to extract archive to
  • array $options: Extraction options [unused]

Implementation of:
JArchiveExtractable::extract()
Extract a compressed file to a given path

Documentation generated on Tue, 19 Nov 2013 14:54:49 +0100 by phpDocumentor 1.4.3