| Modifier and Type | Field and Description |
|---|---|
| private static final JarMarker | |
| private static final ZipShort | |
| private static final byte[] | |
| 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 | parseFromLocalFileData(byte[]
an array of bytes data, int the start offset offset, 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 |
|---|---|
| private static final ZipShort ID | |
| NO_BYTES | back to summary |
|---|---|
| private static final byte[] NO_BYTES | |
| 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.
| |
| parseFromLocalFileData | back to summary |
|---|---|
| public void parseFromLocalFileData(byte[] data, int offset, int length) throws ZipException Implements org. Populate data from this array as if it was in local file data.
| |