diff options
Diffstat (limited to 'libjava/java/util/zip/ZipEntry.java')
-rw-r--r-- | libjava/java/util/zip/ZipEntry.java | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/libjava/java/util/zip/ZipEntry.java b/libjava/java/util/zip/ZipEntry.java index 9bd3c41a9ab..915c4b2bf31 100644 --- a/libjava/java/util/zip/ZipEntry.java +++ b/libjava/java/util/zip/ZipEntry.java @@ -46,6 +46,18 @@ public class ZipEntry implements ZipConstants this.name = name; } + public ZipEntry (ZipEntry ent) + { + comment = ent.comment; + compressedSize = ent.compressedSize; + crc = ent.crc; + extra = ent.extra; + method = ent.method; + size = ent.size; + time = ent.time; + relativeOffset = ent.relativeOffset; + } + public String getComment () { return comment; } public long getCompressedSize () { return compressedSize; } |