setExtra(byte[] extra) Throws an Exception if extra data cannot be parsed into extra fields.
protected void
setExtra() Unfortunately
java.util.zip.ZipOutputStreamjava.util.zip.ZipOutputStream seems to access the extra data
directly, so overriding getExtra doesn't help - we need to
modify super's data directly.
Creates a new zip entry with fields taken from the specified zip entry.
Parameters: entry - the entry to get fields from since: 1.1 throws: ZipException - on error
Creates a new zip entry with fields taken from the specified zip entry.
Parameters: entry - the entry to get fields from throws: ZipException - on error since: 1.1
The equality method. In this case, the implementation returns 'this == o'
which is basically the equals method of the Object class.
Parameters: o - the object to compare to true if this object is the same as o since: Ant 1.7
Platform specification to put into the "version made
by" part of the central file header.
0 (MS-DOS FAT) unless ZipEntry.setUnixMode setUnixModehas been called, in which case 3 (Unix) will be returned. since: Ant 1.5.2
Throws an Exception if extra data cannot be parsed into extra fields.
Parameters: extra - an array of bytes to be parsed into extra fields throws: RuntimeException - if the bytes cannot be parsed since: 1.1 throws: RuntimeException - on error
Unfortunately
java.util.zip.ZipOutputStreamjava.util.zip.ZipOutputStream seems to access the extra data
directly, so overriding getExtra doesn't help - we need to
modify super's data directly.
since: 1.1