OpenWGA 7.11 - TMLScript reference
ZipStreamMethod :
addFile(file)
addFile(document, attachmentname)
On object | ZipStream |
Usage | Add a file or attachment to the zip stream. |
Parameters |
Variant 1:file (WGAFile | FILE): The file object (eigther a WGAFile object or a java.io.File object) to put (copy) into the stream. Variant 2:document (WGDocument | TMLContext) The document to search for the given file. attachmentname (String) The name of the attachment to be added to the zip stream. |
Return value | The ZipStream for further chaining |
Allowed in script types |
|