Software: Apache/2.4.41 (Ubuntu). PHP/8.0.30 uname -a: Linux apirnd 5.4.0-204-generic #224-Ubuntu SMP Thu Dec 5 13:38:28 UTC 2024 x86_64 uid=33(www-data) gid=33(www-data) groups=33(www-data) Safe-mode: OFF (not secure) /usr/share/doc/libzipios++-doc/html/ drwxr-xr-x | |
| Viewing file: Select action/file-type:
Zipios++
IntroductionZipios++ 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. The source code is released under the GNU Lesser General Public License. StatusSpanned archives are not supported, and support is not planned. The library has been tested and appears to be working with
If you are aware of any other platforms that Zipios++ works on, please let me know (thomass@deltadata.dk). DocumentationThis web page is the front page to the library documentation which is generated from the source files using Doxygen. Use the links at the top of the page to browse the API documentation. The documentation is also available in a printer-friendly format [pdf]. Zip file accessThe 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. ZipInputStream::getNextEntry() positions the new ZipInputStream at the first entry. The following entry can be accessed by calling ZipInputStream::getNextEntry() again. 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(). FileCollectionsA ZipFile is actually just a special kind of FileCollection that obtains its entries from a .zip Zip archive. Zipios++ also implements a DirectoryCollection that obtains its entries from a specified directory, and a CollectionCollection that obtains its entries from other collections. Using a single CollectionCollection any number of other FileCollections can be placed under its control and accessed through the same single interface that is used to access a ZipFile or a DirectoryCollection. A singleton (a unique global instance) CollectionCollection can be obtained through CollectionCollection::inst() ; To save typing CollectionCollection has been typedef'ed to CColl. In the initialization part of an application FileCollections can be created, and placed under CColll::inst()'s control using and later an istream can be obtained using CColl::inst().getInputStream(). DownloadGo to Zipios++ project page on SourceForge for tar balls and ChangeLog. http://sourceforge.net/project/?group_id=5418 Linkszlib. The compression library that Zipios++ uses to perform the actual decompression. Java 2 Platform, Standard Edition, v 1.3 API Specification . Zipios++ is heavily inspired by the java.util.zip package. PKWARE zip format . A description of the zip file format. BugsSubmit bug reports and patches to thomass@deltadata.dk Project hosted by http://sourceforge.net/ Generated by
1.8.17
|
:: Command execute :: | |
--[ c99shell v. 2.5 [PHP 8 Update] [24.05.2025] | Generation time: 0.0336 ]-- |