public enum ArchiveFileFormat extends Enum<ArchiveFileFormat>
Enum Constant and Description |
---|
TAR
tar format
|
TAR_BZ2
BZIP compressed tar format
|
TAR_GZ
GNU compressed tar format
|
Modifier and Type | Method and Description |
---|---|
String |
toString() |
static ArchiveFileFormat |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ArchiveFileFormat[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared.
|
public static final ArchiveFileFormat TAR
public static final ArchiveFileFormat TAR_GZ
public static final ArchiveFileFormat TAR_BZ2
public final String format
public static ArchiveFileFormat[] values()
for (ArchiveFileFormat c : ArchiveFileFormat.values()) System.out.println(c);
public static ArchiveFileFormat valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic String toString()
toString
in class Enum<ArchiveFileFormat>