public enum PackageFormat extends java.lang.Enum<PackageFormat>
| Modifier and Type | Method and Description |
|---|---|
static PackageFormat |
forSuffix(java.lang.String suffix) |
java.lang.String |
getSuffix() |
static PackageFormat |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static PackageFormat[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PackageFormat ZIP
public static final PackageFormat TGZ
public static PackageFormat[] values()
for (PackageFormat c : PackageFormat.values()) System.out.println(c);
public static PackageFormat 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 nullpublic java.lang.String getSuffix()
public static PackageFormat forSuffix(java.lang.String suffix)