AT&T Home | AT&T Labs | Research
AT&T Labs, Inc. - Research

The Yoix® Scripting Language

Home | What's New | Grammar | Documentation | Download | License | YChart | YDAT | YWAIT | Byzgraf | FAQs
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.
 
 Example:   For a usage example, refer to the documentation for setZipLevel.
 
 Return:   none
 
 See Also:   getZipEntries, getZipMember, setZipLevel

 

Yoix is a registered trademark of AT&T Inc.