Enum Class ExtractAskMode

java.lang.Object
java.lang.Enum<ExtractAskMode>
net.sf.sevenzipjbinding.ExtractAskMode
All Implemented Interfaces:
Serializable, Comparable<ExtractAskMode>, Constable

public enum ExtractAskMode extends Enum<ExtractAskMode>
Enumeration of 'Ask Modes' for extract operations
Since:
4.65-1
Author:
Boris Brodski
  • Enum Constant Details

    • EXTRACT

      public static final ExtractAskMode EXTRACT
      Extract an archive item
    • TEST

      public static final ExtractAskMode TEST
      Test an archive item
    • SKIP

      public static final ExtractAskMode SKIP
      Skip extraction of an archive item
    • UNKNOWN_ASK_MODE

      public static final ExtractAskMode UNKNOWN_ASK_MODE
      Unknown mode
  • Method Details

    • values

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

      public static ExtractAskMode valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified name
      NullPointerException - if the argument is null
    • getExtractAskModeByIndex

      public static ExtractAskMode getExtractAskModeByIndex(int index)
      Return ask mode enumeration item by index
      Parameters:
      index - index of enumeration item
      Returns:
      ask mode enumeration item by index