|
Public Member Functions | |
Compressor (S32 method, const char *name) | |
const char * | getName () |
S32 | getMethod () |
virtual Stream * | createReadStream (const CentralDir *cdir, Stream *zipStream)=0 |
virtual Stream * | createWriteStream (const CentralDir *cdir, Stream *zipStream)=0 |
Static Public Member Functions | |
static Compressor * | findCompressor (const char *name) |
static Compressor * | findCompressor (S32 method) |
Protected Attributes | |
const char * | mName |
The name of the compression method. | |
S32 | mMethod |
The compression method as in the Zip header. | |
Private Attributes | |
Compressor * | mNext |
Zip::Compressor::Compressor | ( | S32 | method, | |
const char * | name | |||
) |
const char* Zip::Compressor::getName | ( | ) | [inline] |
S32 Zip::Compressor::getMethod | ( | ) | [inline] |
virtual Stream* Zip::Compressor::createReadStream | ( | const CentralDir * | cdir, | |
Stream * | zipStream | |||
) | [pure virtual] |
virtual Stream* Zip::Compressor::createWriteStream | ( | const CentralDir * | cdir, | |
Stream * | zipStream | |||
) | [pure virtual] |
static Compressor* Zip::Compressor::findCompressor | ( | const char * | name | ) | [static] |
static Compressor* Zip::Compressor::findCompressor | ( | S32 | method | ) | [static] |
Compressor* Zip::Compressor::mNext [private] |
const char* Zip::Compressor::mName [protected] |
The name of the compression method.
S32 Zip::Compressor::mMethod [protected] |
The compression method as in the Zip header.