org.codehaus.plexus.archiver.zip
public interface ZipExtraField
Extra fields usually appear twice per file, once in the local
file data and once in the central directory. Usually they are the
same, but they don't have to be. java.util.zip.ZipOutputStream java.util.zip.ZipOutputStream
will
only use the local file data in both places.
Version: $Revision: 2436 $ $Date: 2005-09-01 13:20:41 -0400 (Thu, 01 Sep 2005) $ from org.apache.ant.tools.zip.ZipExtraField v1.9
Method Summary | |
---|---|
byte[] | getCentralDirectoryData()
The actual data to put central directory - without Header-ID or
length specifier.
|
ZipShort | getCentralDirectoryLength()
Length of the extra field in the central directory - without
Header-ID or length specifier.
|
ZipShort | getHeaderId()
The Header-ID.
|
byte[] | getLocalFileDataData()
The actual data to put into local file data - without Header-ID
or length specifier.
|
ZipShort | getLocalFileDataLength()
Length of the extra field in the local file data - without
Header-ID or length specifier.
|
void | parseFromLocalFileData(byte[] data, int offset, int length)
Populate data from this array as if it was in local file data.
|
Since: 1.1
Since: 1.1
Since: 1.1
Since: 1.1
Since: 1.1
Since: 1.1