public static enum ArchiveResource.ArchiveType extends java.lang.Enum<ArchiveResource.ArchiveType>
Enum Constant and Description |
---|
GZTAR
Tar archive type, with GZIP compression
|
TAR
Tar archive type, without compression
|
ZIP
Zip archive type.
|
Modifier and Type | Method and Description |
---|---|
static ArchiveResource.ArchiveType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ArchiveResource.ArchiveType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ArchiveResource.ArchiveType ZIP
public static final ArchiveResource.ArchiveType TAR
public static final ArchiveResource.ArchiveType GZTAR
public static ArchiveResource.ArchiveType[] values()
for (ArchiveResource.ArchiveType c : ArchiveResource.ArchiveType.values()) System.out.println(c);
public static ArchiveResource.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