ZipOutputStream.setLevel

ZipOutputStream.setLevel

Class Overview | Class Members | This Package | All Packages

Syntax
public void setLevel( int level )
Parameters
level
the compression level (0-9)
Description
Sets the compression level for subsequent entries which are DEFLATED. The default setting is DEFAULT_COMPRESSION.

Exceptions
IllegalArgumentException if the compression level is invalid