Adds Unix file permission and UID/GID fields as well as symbolic
link handling.
This class uses the ASi extra field in the format:
Value Size Description
----- ---- -----------
(Unix3) 0x756e Short tag for this extra block type
TSize Short total data size for this block
CRC Long CRC-32 of the remaining data
Mode Short file permissions
SizDev Long symlink'd size OR major/minor dev num
UID Short user ID
GID Short group ID
(var.) variable symbolic link filename
Length of the extra field in the local file data - without
Header-ID or length specifier.
a ZipShort for the length of the data of this extra field since: 1.1
Is this entry a symbolic link?
true if this is a symbolic link since: 1.1
parseFromLocalFileData
public void parseFromLocalFileData(byte[] data, int offset, int length) throws ZipException(Code)
Populate data from this array as if it was in local file data.
Parameters: data - an array of bytes Parameters: offset - the start offset Parameters: length - the number of bytes in the array from offset since: 1.1 throws: ZipException - on error
Indicate that this entry is a symbolic link to the given filename.
Parameters: name - Name of the file this entry links to, empty Stringif it is not a symbolic link. since: 1.1