Enum DumpArchiveEntry.PERMISSION

java.lang.Object
java.lang.Enum<DumpArchiveEntry.PERMISSION>
org.apache.commons.compress.archivers.dump.DumpArchiveEntry.PERMISSION
All Implemented Interfaces:
Serializable, Comparable<DumpArchiveEntry.PERMISSION>
Enclosing class:
DumpArchiveEntry

public static enum DumpArchiveEntry.PERMISSION extends Enum<DumpArchiveEntry.PERMISSION>
Enumerates permissions with values.
  • Enum Constant Details

  • Field Details

    • code

      private final int code
  • Constructor Details

    • PERMISSION

      private PERMISSION(int code)
  • Method Details

    • values

      public static DumpArchiveEntry.PERMISSION[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      Returns:
      an array containing the constants of this enum type, in the order they are declared
    • valueOf

      public static DumpArchiveEntry.PERMISSION valueOf(String name)
      Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum type has no constant with the specified name
      NullPointerException - if the argument is null
    • find

      public static Set<DumpArchiveEntry.PERMISSION> find(int code)
      Finds a matching set of enumeration values for the given code.
      Parameters:
      code - a code.
      Returns:
      a Set of values, never null.