forked from JavaDevTeam/notes
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathjava-util-ZipEntry.java
More file actions
36 lines (32 loc) · 857 Bytes
/
Copy pathjava-util-ZipEntry.java
File metadata and controls
36 lines (32 loc) · 857 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
-------------------------------
ZipEntry
-------------------------------
# 压缩文件的压缩项
public class ZipEntry implements ZipConstants, Cloneable
# 构造函数
ZipEntry(String name)
ZipEntry(ZipEntry e)
# 实例方法
String getComment()
Object clone()
long getCompressedSize()
long getCrc()
FileTime getCreationTime()
byte[] getExtra()
FileTime getLastAccessTime()
FileTime getLastModifiedTime()
int getMethod()
String getName()
long getSize()
long getTime()
boolean isDirectory()
void setComment(String comment)
void setCompressedSize(long csize)
void setCrc(long crc)
ZipEntry setCreationTime(FileTime time)
void setExtra(byte[] extra)
ZipEntry setLastAccessTime(FileTime time)
ZipEntry setLastModifiedTime(FileTime time)
void setMethod(int method)
void setSize(long size)
void setTime(long time)