nsIZipEntry
| IID: | e1c028bc-c478-11da-95a8-00e08161165f |
| Inherits From: | nsISupports |
Properties
readonly PRUint16 compression
The type of compression used for the item. The possible values and their meanings are defined in the zip file specification at http://www.pkware.com/business_and_developers/developer/appnote/
readonly PRUint32 CRC32
The CRC-32 hash of the file in the entry.
readonly PRBool isDirectory
True if the name of the entry ends with '/' and false otherwise.
readonly PRBool isSynthetic
Use this attribute to determine whether this item is an actual zip entry or is one synthesized for part of a real entry's path. A synthesized entry represents a directory within the zip file which has no corresponding entry within the zip file. For example, the entry for the directory foo/ in a zip containing exactly one entry for foo/bar.txt is synthetic. If the zip file contains an actual entry for a directory, this attribute will be false for the nsIZipEntry for that directory. It is impossible for a file to be synthetic.
readonly PRTime lastModifiedTime
The time at which this item was last modified.
readonly PRUint32 realSize
The uncompressed size of the data in the item.
readonly PRUint32 size
The compressed size of the data in the item.
References
This interface is returned from the following methods:
nsIZipReader.getEntry, nsIZipWriter.getEntry
Reference documentation is generated from Mozilla's source.
