Package net.lingala.zip4j.progress
Enum ProgressMonitor.Task
- java.lang.Object
-
- java.lang.Enum<ProgressMonitor.Task>
-
- net.lingala.zip4j.progress.ProgressMonitor.Task
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<ProgressMonitor.Task>
- Enclosing class:
- ProgressMonitor
public static enum ProgressMonitor.Task extends java.lang.Enum<ProgressMonitor.Task>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ADD_ENTRY
CALCULATE_CRC
EXTRACT_ENTRY
MERGE_ZIP_FILES
NONE
REMOVE_ENTRY
RENAME_FILE
SET_COMMENT
-
Constructor Summary
Constructors Modifier Constructor Description private
Task()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ProgressMonitor.Task
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static ProgressMonitor.Task[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
NONE
public static final ProgressMonitor.Task NONE
-
ADD_ENTRY
public static final ProgressMonitor.Task ADD_ENTRY
-
REMOVE_ENTRY
public static final ProgressMonitor.Task REMOVE_ENTRY
-
CALCULATE_CRC
public static final ProgressMonitor.Task CALCULATE_CRC
-
EXTRACT_ENTRY
public static final ProgressMonitor.Task EXTRACT_ENTRY
-
MERGE_ZIP_FILES
public static final ProgressMonitor.Task MERGE_ZIP_FILES
-
SET_COMMENT
public static final ProgressMonitor.Task SET_COMMENT
-
RENAME_FILE
public static final ProgressMonitor.Task RENAME_FILE
-
-
Method Detail
-
values
public static ProgressMonitor.Task[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (ProgressMonitor.Task c : ProgressMonitor.Task.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ProgressMonitor.Task 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 namejava.lang.NullPointerException
- if the argument is null
-
-