Enum ZipMethod

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Comparable<ZipMethod>

    public enum ZipMethod
    extends java.lang.Enum<ZipMethod>
    List of known compression methods Many of these methods are currently not supported by commons compress
    Since:
    1.5
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      int getCode()
      the code of the compression method.
      static ZipMethod getMethodByCode​(int code)
      returns the ZipMethod for the given code or null if the method is not known.
      static ZipMethod valueOf​(java.lang.String name)
      Returns the enum constant of this type with the specified name.
      static ZipMethod[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      • Methods inherited from class java.lang.Enum

        compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
      • Methods inherited from class java.lang.Object

        getClass, notify, notifyAll, wait, wait, wait