Stores the UTF-8 version of the file comment as stored in the central directory header.
| Access | Constructor and Description |
|---|---|
| public | |
| public | UnicodeCommentExtraField(final String
The file name text, final byte[] the bytes actually written to the archive bytes, final int The offset of the encoded comment in off, final int bytes.The length of the encoded comment or comment in
len)bytes.Assemble as unicode comment extension from the name given as text as well as the encoded bytes actually written to the archive. |
| public | UnicodeCommentExtraField(final String
The file comment comment, final byte[] the bytes actually written to the archive bytes)Assemble as unicode comment extension from the comment given as text as well as the bytes actually written to the archive. |
| Modifier and Type | Method and Description |
|---|---|
| public ZipShort |
| UCOM_ID | back to summary |
|---|---|
| public static final ZipShort UCOM_ID | |
| UnicodeCommentExtraField | back to summary |
|---|---|
| public UnicodeCommentExtraField() | |
| UnicodeCommentExtraField | back to summary |
|---|---|
| public UnicodeCommentExtraField(final String text, final byte[] bytes, final int off, final int len) Assemble as unicode comment extension from the name given as text as well as the encoded bytes actually written to the archive.
| |
| UnicodeCommentExtraField | back to summary |
|---|---|
| public UnicodeCommentExtraField(final String comment, final byte[] bytes) Assemble as unicode comment extension from the comment given as text as well as the bytes actually written to the archive.
| |
| getHeaderId | back to summary |
|---|---|
| public ZipShort getHeaderId() Implements org. Doc from org. The Header-ID.
| |