Method Enum

Specifies the compression method for the zip entries.

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

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

ValueDescription
DEFLATEDDeflated compression method for compressed entries.
STOREDNo compression method for zip entries.