Zipios++ 0.1.5 review

Download
by rbytes.net on

Zipios++ project is a java.util.zip-like C++ library for reading and writing Zip files

License: LGPL (GNU Lesser General Public License)
File size: 0K
Developer: Thomas S?ndergaard
0 stars award from rbytes.net

Zipios++ project is a java.util.zip-like C++ library for reading and writing Zip files. Access to individual entries is provided through standard C++ iostreams. A simple read-only virtual file system that mounts regular directories and zip files is also provided.

Spanned archives are not supported, and support is not planned.

The library has been tested and appears to be working with:

FreeBSD stable and current / gcc 2.95.3
Red Hat Linux release 7.0 / gcc 2.96
Red Hat Linux release 6.2 (Zoot) / egcs-2.91.66
Linux Mandrake release 7.0 (Air) / gcc 2.95.2
SGI IRIX64 6.5 / gcc 2.95.2
SGI IRIX64 6.5 / MIPSpro Compilers: Version 7.30

Zip file access:

The two most important classes are ZipFile and ZipInputStream. ZipInputStream is an istream for reading zipfiles. It can be instantiated directly, without the use of ZipFile. A new ZipInputStream reads from the first entry, and the user can skip to the next entry by calling ZipInputStream::getNextEntry().

ZipFile scans the central directory of a zipfile and provides an interface to access that directory. The user may search for entries with a particular filename using ZipFile::getEntry(), or simply get the complete list of entries with ZipFile::entries(). To get an istream (ZipInputStream) to a particular entry simply use ZipFile::getInputStream().
example_zip.cpp demonstrates the central elements of Zipios++.

A Zip file appended to another file, e.g. a binary program, with the program appendzip, can be read with ZipFile::openEmbeddedZipFile().

Zipios++ 0.1.5 search tags