The header-id is artificial (and not listed as a known ID in APPNOTE.TXT). Since it isn't used anywhere except to satisfy the ZipExtraField contract it shouldn't matter anyway.
| Modifier and Type | Field and Description |
|---|---|
| private byte[] | |
| private static final ZipShort | |
| private byte[] |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public byte[] | Returns: The CentralDirectoryData valueImplements org. |
| public ZipShort | Returns: The CentralDirectoryLength valueImplements org. |
| public ZipShort | Returns: a completely arbitrary value that should be ignored.Implements org. |
| public byte[] | Returns: The LocalFileDataData valueImplements org. |
| public ZipShort | Returns: The LocalFileDataLength valueImplements org. |
| public void | parseFromCentralDirectoryData(final byte[]
the buffer to read data from buffer, final int offset into buffer to read data offset, final int the length of data length)Implements org. |
| public void | parseFromLocalFileData(final byte[]
the buffer to read data from buffer, final int offset into buffer to read data offset, final int the length of data length)Implements org. |
| centralDirectoryData | back to summary |
|---|---|
| private byte[] centralDirectoryData | |
| HEADER_ID | back to summary |
|---|---|
| private static final ZipShort HEADER_ID | |
| localFileData | back to summary |
|---|---|
| private byte[] localFileData | |
| UnparseableExtraFieldData | back to summary |
|---|---|
| public UnparseableExtraFieldData() | |
| getCentralDirectoryData | back to summary |
|---|---|
| public byte[] getCentralDirectoryData() Implements org. The actual data to put into central directory.
| |
| getCentralDirectoryLength | back to summary |
|---|---|
| public ZipShort getCentralDirectoryLength() Implements org. Length of the complete extra field in the central directory. | |
| getHeaderId | back to summary |
|---|---|
| public ZipShort getHeaderId() Implements org. The Header-ID. | |
| getLocalFileDataData | back to summary |
|---|---|
| public byte[] getLocalFileDataData() Implements org. The actual data to put into local file data.
| |
| getLocalFileDataLength | back to summary |
|---|---|
| public ZipShort getLocalFileDataLength() Implements org. Length of the complete extra field in the local file data. | |
| parseFromCentralDirectoryData | back to summary |
|---|---|
| public void parseFromCentralDirectoryData(final byte[] buffer, final int offset, final int length) Implements org. Populate data from this array as if it was in central directory data.
| |
| parseFromLocalFileData | back to summary |
|---|---|
| public void parseFromLocalFileData(final byte[] buffer, final int offset, final int length) Implements org. Populate data from this array as if it was in local file data.
| |