| org.apache.tools.zip.ZipExtraField
All known Subclasses: org.apache.tools.zip.AsiExtraField, org.apache.tools.zip.UnrecognizedExtraField, org.apache.tools.zip.JarMarker,
ZipExtraField | public interface ZipExtraField (Code) | | General format of extra field data.
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.
|
getCentralDirectoryData | byte[] getCentralDirectoryData()(Code) | | The actual data to put central directory - without Header-ID or
length specifier.
the data since: 1.1 |
getCentralDirectoryLength | ZipShort getCentralDirectoryLength()(Code) | | Length of the extra field in the central directory - without
Header-ID or length specifier.
the length of the field in the central directory since: 1.1 |
getHeaderId | ZipShort getHeaderId()(Code) | | The Header-ID.
the header id since: 1.1 |
getLocalFileDataData | byte[] getLocalFileDataData()(Code) | | The actual data to put into local file data - without Header-ID
or length specifier.
the data since: 1.1 |
getLocalFileDataLength | ZipShort getLocalFileDataLength()(Code) | | Length of the extra field in the local file data - without
Header-ID or length specifier.
the length of the field in the local file data since: 1.1 |
parseFromLocalFileData | 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 |
|
|