Zip operations - script to Java migration
For the Zip operations, not all of the script operations from the Script API are implemented in the Java™ API. Alternative Java code is provided for those script operations that are not implemented in the Java API.
| Script operation | Alternative Java code |
|---|---|
| unzip | new java.util.zip.ZipInputStream(new FileInputStream(File)); |
| zip | new java.util.ZipOutputStream(new FileOutoutStream(File)); |