| Modifier and Type | Field and Description |
|---|---|
| private byte[] | |
| private long | |
| private byte[] |
| Access | Constructor and Description |
|---|---|
| protected | |
| protected | AbstractUnicodeExtraField(final String
The file name or comment. text, final byte[] The encoded of the file name or comment in the ZIP file. bytes)Assemble as unicode extension from the name/comment and encoding of the original ZIP entry. |
| protected | AbstractUnicodeExtraField(final String
The file name or comment. text, final byte[] The encoded of the file name or comment in the ZIP file. bytes, final int The offset of the encoded file name or comment in off, final int bytes.The length of the encoded file name or comment in len)bytes.Assemble as unicode extension from the name/comment and encoding of the original ZIP entry. |
| Modifier and Type | Method and Description |
|---|---|
| private void | |
| public byte[] | getCentralDirectoryData()
Implements org. |
| public ZipShort | getCentralDirectoryLength()
Implements org. |
| public byte[] | getLocalFileDataData()
Implements org. |
| public ZipShort | getLocalFileDataLength()
Implements org. |
| public long | Returns: The CRC32 checksum of the file name or comment as encoded in the central directory of the ZIP file.Gets the CRC32 checksum of the file name or comment as encoded in the central directory of the ZIP file. |
| public byte[] | |
| 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. |
| public void | setNameCRC32(final long
The CRC32 checksum of the file name as encoded in the central directory of the ZIP file to set. nameCRC32)Gets The CRC32 checksum of the file name as encoded in the central directory of the ZIP file to set. |
| public void | setUnicodeName(final byte[]
The UTF-8 encoded name to set. unicodeName)Gets the UTF-8 encoded name to set. |
| data | back to summary |
|---|---|
| private byte[] data | |
| nameCRC32 | back to summary |
|---|---|
| private long nameCRC32 | |
| unicodeName | back to summary |
|---|---|
| private byte[] unicodeName | |
| AbstractUnicodeExtraField | back to summary |
|---|---|
| protected AbstractUnicodeExtraField() Constructs a new instance. | |
| AbstractUnicodeExtraField | back to summary |
|---|---|
| protected AbstractUnicodeExtraField(final String text, final byte[] bytes) Assemble as unicode extension from the name/comment and encoding of the original ZIP entry.
| |
| AbstractUnicodeExtraField | back to summary |
|---|---|
| protected AbstractUnicodeExtraField(final String text, final byte[] bytes, final int off, final int len) Assemble as unicode extension from the name/comment and encoding of the original ZIP entry.
| |
| assembleData | back to summary |
|---|---|
| private void assembleData() | |
| getCentralDirectoryData | back to summary |
|---|---|
| public byte[] getCentralDirectoryData() Implements org. Doc from org. The actual data to put into central directory - without Header-ID or length specifier.
| |
| getCentralDirectoryLength | back to summary |
|---|---|
| public ZipShort getCentralDirectoryLength() Implements org. Doc from org. Length of the extra field in the central directory - without Header-ID or length specifier. | |
| getLocalFileDataData | back to summary |
|---|---|
| public byte[] getLocalFileDataData() Implements org. Doc from 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. Doc from org. Length of the extra field in the local file data - without Header-ID or length specifier. | |
| getNameCRC32 | back to summary |
|---|---|
| public long getNameCRC32() Gets the CRC32 checksum of the file name or comment as encoded in the central directory of the ZIP file.
| |
| getUnicodeName | back to summary |
|---|---|
| public byte[] getUnicodeName() Gets The UTF-8 encoded name.
| |
| 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[] buffer, final int offset, final int length) throws ZipException Implements org. Doc from org. Populate data from this array as if it was in local file data.
| |
| setNameCRC32 | back to summary |
|---|---|
| public void setNameCRC32(final long nameCRC32) Gets The CRC32 checksum of the file name as encoded in the central directory of the ZIP file to set.
| |
| setUnicodeName | back to summary |
|---|---|
| public void setUnicodeName(final byte[] unicodeName) Gets the UTF-8 encoded name to set.
| |