eZPublish  4.7
eZBZIP2Handler Class Reference

Handles files compressed with bzip2. More...

+ Inheritance diagram for eZBZIP2Handler:
+ Collaboration diagram for eZBZIP2Handler:

Public Member Functions

 compress ($source)
 
 decompress ($source)
 
 doClose ()
 
 doFlush ()
 
 doOpen ($filename, $mode)
 
 doRead ($uncompressedLength=false)
 
 doWrite ($data, $uncompressedLength=false)
 
 error ()
 
 errorNumber ()
 
 errorString ()
 
 eZBZIP2Handler ()
 
- Public Member Functions inherited from eZCompressionHandler
 eZCompressionHandler ($handlerIdentifier, $handlerName)
 
- Public Member Functions inherited from eZFileHandler
 close ()
 
 doEOF ()
 
 doPasstrough ($closeFile=true)
 
 doRewind ()
 
 doSeek ($offset, $whence)
 
 doTell ()
 
 duplicate ()
 
 eof ()
 
 error ()
 
 exists ($filename=false)
 
 eZFileHandler ($handlerIdentifier=false, $handlerName=false)
 
 filename ()
 
 flush ()
 
 identifier ()
 
 isBinaryMode ()
 
 isDirectory ($filename=false)
 
 isExecutable ($filename=false)
 
 isFile ($filename=false)
 
 isLink ($filename=false)
 
 isOpen ()
 
 isReadable ($filename=false)
 
 isWriteable ($filename=false)
 
 mode ()
 
 name ()
 
 open ($filename, $mode, $binaryFile=true)
 
 passtrough ($closeFile=true)
 
 read ($length=false)
 
 rename ($destinationFilename, $sourceFilename=false)
 
 rewind ()
 
 seek ($offset, $whence=SEEK_SET)
 
 statistics ($filename=false)
 
 tell ()
 
 unlink ($filename=false)
 
 write ($data, $length=false)
 

Public Attributes

 $BlockSize
 
 $SmallDecompress
 
 $WorkFactor
 
- Public Attributes inherited from eZFileHandler
 $FileName
 
 $IsBinary
 
 $IsOpen
 
 $Mode
 
 $Name
 

Additional Inherited Members

- Static Public Member Functions inherited from eZFileHandler
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)
 

Detailed Description

Handles files compressed with bzip2.

NOTE: This is not done yet.

Member Function Documentation

eZBZIP2Handler::compress (   $source)
virtual

Compress the $source string and return it as compressed data.

Implements eZCompressionHandler.

eZBZIP2Handler::decompress (   $source)
virtual

Decompress the $source string containing compressed data and return it as a string.

Implements eZCompressionHandler.

eZBZIP2Handler::doClose ( )
virtual

Does the actual file closing.

See Also
close

Implements eZFileHandler.

eZBZIP2Handler::doFlush ( )
virtual

Does the actual file flushing.

See Also
flush

Implements eZFileHandler.

eZBZIP2Handler::doOpen (   $filename,
  $mode 
)
virtual

Does the actual file opening.

See Also
open

Implements eZFileHandler.

eZBZIP2Handler::doRead (   $length = false)
virtual

Does the actual file reading.

See Also
read

Implements eZFileHandler.

eZBZIP2Handler::doWrite (   $data,
  $length = false 
)
virtual

Does the actual file writing.

See Also
write

Implements eZFileHandler.

eZBZIP2Handler::error ( )
eZBZIP2Handler::errorNumber ( )
virtual
Returns
the error number from the last error that occured.

Implements eZFileHandler.

eZBZIP2Handler::errorString ( )
virtual
Returns
the error string from the last error that occured.

Implements eZFileHandler.

eZBZIP2Handler::eZBZIP2Handler ( )

Member Data Documentation

eZBZIP2Handler::$BlockSize
eZBZIP2Handler::$SmallDecompress
eZBZIP2Handler::$WorkFactor

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