nsIZipEntry 编辑

content/base/public/nsIDOMSerializer.idlScriptable Please add a summary to this article. Inherits from: nsISupports Last changed in Gecko 1.9 (Firefox 3)

Attributes

AttributeTypeDescription
compressionunsigned shortThe type of compression used for the item. The possible values and their meanings are defined in the zip file specification at ZIP Application Note Support. Read only.
CRC32unsigned longThe CRC-32 hash of the file in the entry. Read only.
isDirectorybooleanTrue if the name of the entry ends with '/' and false otherwise. Read only.
isSyntheticbooleanUse 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. Read only.
lastModifiedTimePRTimeThe time at which this item was last modified. Read only.
namestringRead only. Obsolete since Gecko 1.9
realSizeunsigned longThe uncompressed size of the data in the item. Read only.
sizeunsigned longThe compressed size of the data in the item. Read only.

See also

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。
列表为空,暂无数据

词条统计

浏览:109 次

字数:3417

最后编辑:7 年前

编辑次数:0 次

    我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
    原文