#include <Compressor.h>
Public Types | |
enum | COMPRESSORFORMAT { ZIP, GZIP, BZIP2 } |
enum | DECOMPRESSORTYPE { INFILE, INSTREAM } |
Public Member Functions | |
Compressor () | |
std::string | decompress (const std::string &file, const std::string &contents="content.xml", DECOMPRESSORTYPE type=INFILE) |
Static Public Attributes | |
static const int | CASESENSITIVITY = 1 |
static const int | WRITEBUFFERSIZE = 8192 |
Private Member Functions | |
std::string | _decompressPKZIP (const std::string &file, const std::string &contents="content.xml") |
std::string | _decompressGZIP (const std::string &file) |
std::string | _decompressBZIP2 (const std::string &file) |
|
|
|
|
|
|
|
|
|
|
|
_decompressPKZIP(): NOTA BENE: "contents" will normally be "content.xml" for an OASIS PKZIP'd file. |
|
decompress(): NOTA BENE: 1. contents defaults to "content.xml" which only applies to OASIS format 2. DECOMPRESSORTYPE defaults to "INFILE" |
|
|
|
|