| setZipComment |
(Stream stream, String comment) |
yoix.io |
| |
|
Writes the
comment
to a zipped, output
stream.
Not only can the comment not be retrieved by the Java zip routines (and so
is unavailable to Yoix), but in certain cases, such as when entries are
not deflated, it may be that the comment is not even written to the file.
This built-in is only supplied on the chance that someone will find this
capability useful.
The best way for incorporating comments into a zip file remains, at present,
to use the
extra
field in a
ZipEntry.
The
stream
must be a
zipped stream opened for writing.
The write buffers are always flushed before the zip comment is written.
|
Yoix is a registered trademark of AT&T Inc.
|