public enum ArchiveType extends java.lang.Enum<ArchiveType>
Enum Constant and Description |
---|
JAR |
NOT_ARCHIVE |
SEVEN_Z |
TAR |
TAR_GZ |
ZIP |
Modifier and Type | Method and Description |
---|---|
static ArchiveType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ArchiveType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ArchiveType NOT_ARCHIVE
public static final ArchiveType ZIP
public static final ArchiveType JAR
public static final ArchiveType TAR
public static final ArchiveType TAR_GZ
public static final ArchiveType SEVEN_Z
public static ArchiveType[] values()
for (ArchiveType c : ArchiveType.values()) System.out.println(c);
public static ArchiveType valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null