spunQ_IArchiveHandler Interface Reference

An interface to archive handlers. More...

Inheritance diagram for spunQ_IArchiveHandler:

spunQ_ZipHandler spunQ_PhpZipHandler

List of all members.

Public Member Functions

 extract (spunQ_ArchiveFile $file, spunQ_Folder $folder)
 Extracts the contents of an archive into given folder.


Detailed Description

An interface to archive handlers.

Developer log entry:
Joyce Visne (2009-03-02): Note that functionality to unpack but not pack rar archives may be available and that there is a php archive "phar" which stores in many archivable forms, but these are probably not compatible with the non-php versions of them, since there is a double extension (e.g., ".phar.zip", ".phar.gz", etc.)

Definition at line 10 of file IArchiveHandler.interface.php.


Member Function Documentation

spunQ_IArchiveHandler::extract ( spunQ_ArchiveFile file,
spunQ_Folder folder 
)

Extracts the contents of an archive into given folder.

Parameters:
$file The archive to extract
$folder The folder to extract to
Returns:
void
Exceptions:
spunQ_IOException 

Implemented in spunQ_PhpZipHandler.


The documentation for this interface was generated from the following file:

Generated on Fri Jul 1 11:12:41 2011 for spunQ3 by  doxygen 1.5.9