AbZip
1.5
|
This class holds information about a file stored within the archive file. More...
#include <ZipFileInfo.h>
Public Member Functions | |
ZipFileInfo (CentralDirFileHeader *header) | |
Public Attributes | |
QString | filePath |
The full path and filename as stored in the archive. | |
QString | comment |
The comment assigned to this file. | |
QDateTime | lastModifiedDate |
The last modifies date of the file. | |
quint32 | crc32 |
The CRC checksum for the stored file. | |
quint64 | compressedSize |
The compressed side of the file in bytes. | |
quint64 | uncompressedSize |
The uncompressed (or original) size of the file. | |
quint32 | compressionMethod |
Pkware compression method (See PKWARE APPNOTE.TXT section 4.4.5) | |
quint32 | version |
quint32 | madeByOS |
PKWARE OS made by. See PKWARE APPNOTE.TXT section 4.4.2.2. | |
QFile::Permissions | permissions |
The original file permission (e.g. read/write/execute etc.) | |
quint8 | attributes |
bool | isFolder |
true if this entry is a folder only and not a file. | |
bool | isEncrypted |
true if this file is encrypted. See setPassword() | |
This class holds information about a file stored within the archive file.
quint32 ZipFileInfo::version |
Version made by (See PKWARE APPNOTE.TXT section 4.4.2). Major version/10, minor version % 10 (e.g. version = 45 which is 4.5)
quint8 ZipFileInfo::attributes |
DOS base file attributes (e.g archive, system, read only etc.) Bit 1 = Archive, Bit 2 = Hidden, Bit 4 = System, Bit 5 = folder, Bit 6 = Archive