| Modifier and Type | Field and Description |
|---|---|
| private static final JarMarker | |
| pack-priv static final ZipShort | |
| private static final ZipShort |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public byte[] | Returns: the dataImplements org. |
| public ZipShort | Returns: 0Implements org. |
| public ZipShort | Returns: the header idImplements org. |
| public static JarMarker | Returns: the DEFAULT jarmaker.Since JarMarker is stateless we can always use the same instance. |
| public byte[] | Returns: the dataImplements org. |
| public ZipShort | Returns: 0Implements 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[]
an array of bytes data, final int the start offset offset, final int the number of bytes in the array from offset length)Implements org. |
| DEFAULT | back to summary |
|---|---|
| private static final JarMarker DEFAULT | |
| ID | back to summary |
|---|---|
| pack-priv static final ZipShort ID | |
| NULL | back to summary |
|---|---|
| private static final ZipShort NULL | |
| JarMarker | back to summary |
|---|---|
| public JarMarker() No-arg constructor | |
| getCentralDirectoryData | back to summary |
|---|---|
| public byte[] getCentralDirectoryData() Implements org. The actual data to put central directory - without Header-ID or length specifier.
| |
| getCentralDirectoryLength | back to summary |
|---|---|
| public ZipShort getCentralDirectoryLength() Implements org. Length of the extra field in the central directory - without Header-ID or length specifier. | |
| getHeaderId | back to summary |
|---|---|
| public ZipShort getHeaderId() Implements org. The Header-ID. | |
| getInstance | back to summary |
|---|---|
| public static JarMarker getInstance() Since JarMarker is stateless we can always use the same instance.
| |
| getLocalFileDataData | back to summary |
|---|---|
| public byte[] getLocalFileDataData() Implements org. The actual data to put into local file data - without Header-ID or length specifier.
| |
| getLocalFileDataLength | back to summary |
|---|---|
| public ZipShort getLocalFileDataLength() Implements org. Length of the extra field in the local file data - without Header-ID or length specifier. | |
| parseFromCentralDirectoryData | back to summary |
|---|---|
| public void parseFromCentralDirectoryData(final byte[] buffer, final int offset, final int length) throws ZipException Implements org. Doesn't do anything special since this class always uses the same data in central directory and local file data.
| |
| parseFromLocalFileData | back to summary |
|---|---|
| public void parseFromLocalFileData(final byte[] data, final int offset, final int length) throws ZipException Implements org. Populate data from this array as if it was in local file data.
| |