nsIZipEntry 编辑
content/base/public/nsIDOMSerializer.idl
Scriptable Please add a summary to this article. Inherits from: nsISupports
Last changed in Gecko 1.9 (Firefox 3)Attributes
Attribute | Type | Description |
compression | unsigned short | The 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. |
CRC32 | unsigned long | The CRC-32 hash of the file in the entry. Read only. |
isDirectory | boolean | True if the name of the entry ends with '/' and false otherwise. Read only. |
isSynthetic | boolean | 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. Read only. |
lastModifiedTime | PRTime | The time at which this item was last modified. Read only. |
name | string | Read only. Obsolete since Gecko 1.9 |
realSize | unsigned long | The uncompressed size of the data in the item. Read only. |
size | unsigned long | The compressed size of the data in the item. Read only. |
See also
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论