The Compression namespace provides classes and methods to create and extract zip files. The following are the classes and enums in the Compression namespace. Level Enum Specifies the compression level for creating a zip file. Method Enum Specifies the compression method for the zip entries. ZipEntry Class Contains methods to get and set information about a zip file entry. ZipReader Class Contains methods to get information about zip entries and to extract content for specified zip entries from the zip file. ZipWriter Class Contains methods to add zip entries, generate a zipped archive, and return the result as an Apex blob. Compression Exceptions The Compression namespace contains exception classes.
The Compression namespace provides classes and methods to create and extract zip files. The following are the classes and enums in the Compression namespace. Level Enum Specifies the compression level for creating a zip file. Method Enum Specifies the compression method for the zip entries. ZipEntry Class Contains methods to get and set information about a zip file entry. ZipReader Class Contains methods to get information about zip entries and to extract content for specified zip entries from the zip file. ZipWriter Class Contains methods to add zip entries, generate a zipped archive, and return the result as an Apex blob. Compression Exceptions The Compression namespace contains exception classes.