Lines Matching refs:comment
78 private byte[] comment;
143 * Sets the ZIP file comment.
144 * @param comment the comment string
146 * ZIP file comment is greater than 0xFFFF bytes
148 public void setComment(String comment) {
149 if (comment != null) {
150 this.comment = zc.getBytes(comment);
151 if (this.comment.length > 0xffff)
152 throw new IllegalArgumentException("ZIP file comment too long.");
553 if (e.comment != null) {
554 commentBytes = zc.getBytes(e.comment);
643 if (comment != null) { // zip file comment
644 writeShort(comment.length);
645 writeBytes(comment, 0, comment.length);