| 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 filename or comment in the zip
file. bytes, final int The offset of the encoded filename or comment in
off, final int bytes.The length of the encoded filename or comment in
len)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 filename or comment in the zip
file. 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 filename or comment as encoded in the central directory of the zip file.
|
| public byte[] | |
| public void | parseFromLocalFileData(final byte[]
an array of bytes buffer, final int the start offset offset, final int the number of bytes in the array from offset length)Implements org. |
| public void | setNameCRC32(final long
The CRC32 checksum of the filename as encoded
in the central directory of the zip file to set. nameCRC32)
|
| public void |
| 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() | |
| 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.
| |
| 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.
| |
| 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()
| |
| getUnicodeName | back to summary |
|---|---|
public byte[] getUnicodeName()
| |
| 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)
| |
| setUnicodeName | back to summary |
|---|---|
public void setUnicodeName(final byte[] unicodeName)
| |