Reading, creating, and manipulating file archives


KArchive provides classes for easy reading, creation and manipulation of "archive" formats like ZIP and TAR.

It also provides transparent compression and decompression of data, like the GZip format, via a subclass of QIODevice.


If you want to read and write compressed data, just create an instance of KCompressionDevice and write to or read from that.

If you want to read and write archive formats, create an instance of the appropriate subclass of KArchive (eg: K7Zip for 7-Zip files). You may need to combine this with usage of KCompressionDevice (see the API documentation for the relevant KArchive subclass for details).

This file is part of the KDE documentation.
Documentation copyright © 1996-2023 The KDE developers.
Generated on Sun Oct 1 2023 04:05:11 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.