Library: Zip
Package: Zip
Header: Poco/Zip/ZipArchive.h
A ZipArchive contains information on the content of a zip file
Member Functions: fileInfoBegin, fileInfoEnd, findHeader, getZipComment, headerBegin, headerEnd
typedef std::map < Poco::UInt16, ZipArchiveInfo > DirectoryInfos;
typedef std::map < std::string, ZipLocalFileHeader > FileHeaders;
typedef std::map < std::string, ZipFileInfo > FileInfos;
ZipArchive(
std::istream & in
);
Creates the ZipArchive from a file. Note that the in stream will be in state failed after the constructor is finished
ZipArchive(
std::istream & in,
ParseCallback & callback
);
Creates the ZipArchive from a file or network stream. Note that the in stream will be in state failed after the constructor is finished
~ZipArchive();
Destroys the ZipArchive.
FileInfos::const_iterator fileInfoBegin() const;
FileInfos::const_iterator fileInfoEnd() const;
FileHeaders::const_iterator findHeader(
const std::string & fileName
) const;
const std::string & getZipComment() const;
FileHeaders::const_iterator headerBegin() const;
FileHeaders::const_iterator headerEnd() const;