public static enum Downloader.PackageType extends Enum<Downloader.PackageType>
| Enum Constant and Description |
|---|
JAR |
SERVICEARCHIVE |
UNKNOWN |
| Modifier and Type | Method and Description |
|---|---|
static Downloader.PackageType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Downloader.PackageType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Downloader.PackageType JAR
public static final Downloader.PackageType SERVICEARCHIVE
public static final Downloader.PackageType UNKNOWN
public static Downloader.PackageType[] values()
for (Downloader.PackageType c : Downloader.PackageType.values()) System.out.println(c);
public static Downloader.PackageType 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 nullCopyright © 2015. All Rights Reserved.