ZipOutputStream.setMethod

ZipOutputStream.setMethod

Class Overview | Class Members | This Package | All Packages

Syntax
public void setMethod( int method )
Parameters
method
the default compression method
Description
Sets the default compression method for subsequent entries. This default will be used whenever the compression method is not specified for an individual ZIP file entry, and is initially set to DEFLATED.

Exceptions
IllegalArgumentException if the specified compression method is invalid