Newer Version Available

This content describes an older version of this product. View Latest

Method Enum

Specifies the compression method for the zip entries.

Usage

Use the Method enum with the getMethod() and setMethod(method) methods in the ZipEntry and ZipWriter classes.

Enum Values

The following are the values of the Compression.Method enum.

Value Description
DEFLATED Deflated compression method for compressed entries.
STORED No compression method for zip entries.