net.sf.sevenzipjbinding
Enum ExtractAskMode

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

public enum ExtractAskMode
extends java.lang.Enum<ExtractAskMode>

Enumeration of 'Ask Modes' for extract operations

Since:
1.0
Author:
Boris Brodski

Enum Constant Summary
EXTRACT
          Extract a archive item
SKIP
          Skip extraction of a archive item
TEST
          Test a archive item
UNKNOWN_ASK_MODE
          Unknown mode
 
Method Summary
static ExtractAskMode getExtractAskModeByIndex(int index)
          Return ask mode enumeration item by index
static ExtractAskMode valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static ExtractAskMode[] values()
          Returns an array containing the constants of this enum type, in the order they're 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
 

Enum Constant Detail

EXTRACT

public static final ExtractAskMode EXTRACT
Extract a archive item


TEST

public static final ExtractAskMode TEST
Test a archive item


SKIP

public static final ExtractAskMode SKIP
Skip extraction of a archive item


UNKNOWN_ASK_MODE

public static final ExtractAskMode UNKNOWN_ASK_MODE
Unknown mode

Method Detail

values

public static final ExtractAskMode[] values()
Returns an array containing the constants of this enum type, in the order they're declared. This method may be used to iterate over the constants as follows:
for(ExtractAskMode c : ExtractAskMode.values())
        System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they're declared

valueOf

public static ExtractAskMode valueOf(java.lang.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:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name

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