# Uses of Enum
org.apache.commons.compress.archivers.zip.ZipMethod

Packages that use ZipMethod
Package
Description
org.apache.commons.compress.archivers.zip
Provides stream classes for reading and writing archives using the ZIP format.

- ## Uses of ZipMethod in org.apache.commons.compress.archivers.zip

  Methods in org.apache.commons.compress.archivers.zip that return ZipMethod
  Modifier and Type
  Method
  Description
  `static ZipMethod`
  ZipMethod.`getMethodByCode(int code)`
  returns the `ZipMethod` for the given code or null if the method is not known.
  `static ZipMethod`
  ZipMethod.`valueOf(String name)`
  Returns the enum constant of this type with the specified name.
  `static ZipMethod[]`
  ZipMethod.`values()`
  Returns an array containing the constants of this enum type, in the order they are declared.
  Constructors in org.apache.commons.compress.archivers.zip with parameters of type ZipMethod
  Modifier
  Constructor
  Description
  ``
  `UnsupportedZipFeatureException(ZipMethod method, ZipArchiveEntry entry)`
  Creates an exception for archives that use an unsupported compression algorithm.