public enum DownloadType extends Enum<DownloadType>
Enum Constant and Description |
---|
DOWNLOAD_CONTROLLED |
DOWNLOAD_ORIGINAL |
Modifier and Type | Method and Description |
---|---|
static DownloadType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DownloadType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DownloadType DOWNLOAD_CONTROLLED
public static final DownloadType DOWNLOAD_ORIGINAL
public static DownloadType[] values()
for (DownloadType c : DownloadType.values()) System.out.println(c);
public static DownloadType 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 © 2019. All rights reserved.