public enum DownloadFormat extends java.lang.Enum<DownloadFormat>
| Enum Constant and Description |
|---|
CONTENT_AS_TGZ |
CONTENT_AS_ZIP |
EXTRACT_CONTENT |
PACKAGE |
| Modifier and Type | Method and Description |
|---|---|
static DownloadFormat |
fromFormat(java.lang.String format) |
java.lang.String |
getDisplay() |
java.lang.String |
getFormat() |
static DownloadFormat |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static DownloadFormat[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DownloadFormat PACKAGE
public static final DownloadFormat CONTENT_AS_ZIP
public static final DownloadFormat CONTENT_AS_TGZ
public static final DownloadFormat EXTRACT_CONTENT
public static DownloadFormat[] values()
for (DownloadFormat c : DownloadFormat.values()) System.out.println(c);
public static DownloadFormat 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 getFormat()
public java.lang.String getDisplay()
public static DownloadFormat fromFormat(java.lang.String format)