eZPublish
4.7
|
Interface for file handlers using compression. More...
Additional Inherited Members | |
![]() | |
static | copy ($sourceFilename, $destinationFilename) |
static | doExists ($filename) |
static | doIsDirectory ($filename) |
static | doIsExecutable ($filename) |
static | doIsFile ($filename) |
static | doIsLink ($filename) |
static | doIsReadable ($filename) |
static | doIsWriteable ($filename) |
static | doRename ($destinationFilename, $sourceFilename) |
static | doStatistics ($filename) |
static | doUnlink ($filename) |
static | instance ($identifier, $filename=false, $mode=false, $binaryFile=true) |
Returns a shared instance of the eZFileHandler class. More... | |
static | isAvailable () |
static | link ($sourceFilename, $destinationFilename) |
static | linkCopy ($sourceFilename, $destinationFilename, $symbolicLink=true) |
static | move ($sourceFilename, $destinationFilename) |
static | symlink ($sourceFilename, $destinationFilename) |
![]() | |
$FileName | |
$IsBinary | |
$IsOpen | |
$Mode | |
$Name | |
Interface for file handlers using compression.
Generic interface for all file handlers using compression.
This class introduces two new functions from the eZFileHandler base class, they are compress() and decompress() and are used for string based compression.
The compressor handlers must inherit from this class and reimplement some virtual functions.
For dealing with compressed strings the following functions must be reimplemented. compress() and decompress()
The handlers must also implement the virtual functions defined in eZFileHandler.
|
pure virtual |
Compress the $source string and return it as compressed data.
Implemented in eZGZIPZLIBCompressionHandler, eZGZIPShellCompressionHandler, eZForwardCompressionHandler, and eZBZIP2Handler.
|
pure virtual |
Decompress the $source string containing compressed data and return it as a string.
Implemented in eZGZIPZLIBCompressionHandler, eZGZIPShellCompressionHandler, eZForwardCompressionHandler, and eZBZIP2Handler.
eZCompressionHandler::eZCompressionHandler | ( | $handlerIdentifier, | |
$handlerName | |||
) |
Initializes the handler. Optionally the parameters $filename and $mode may be provided to automatically open the file.
Referenced by eZBZIP2Handler\eZBZIP2Handler(), eZForwardCompressionHandler\eZForwardCompressionHandler(), eZGZIPShellCompressionHandler\eZGZIPShellCompressionHandler(), eZGZIPZLIBCompressionHandler\eZGZIPZLIBCompressionHandler(), and eZNoCompressionHandler\eZNoCompressionHandler().