public enum ArchiveType extends java.lang.Enum<ArchiveType>
| Enum Constant and Description |
|---|
TAR
Indicates that a given archive has the
.tar-format. |
TAR_BZ2
Indicates that a given archive has the
.tar.bz2-format. |
TAR_GZ
Indicates that a given archive has the
.tar.gz-format. |
ZIP
Indicates that a given archive has the
.zip-format. |
| 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 ZIP
.zip-format.public static final ArchiveType TAR_GZ
.tar.gz-format.public static final ArchiveType TAR_BZ2
.tar.bz2-format.public static final ArchiveType TAR
.tar-format.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