public enum DownloadTypes extends Enum<DownloadTypes>
Enum Constant and Description |
---|
ENCRYPTED
Encrypted
|
MAX_ALLOWED
Max allowed
|
ORIGINAL
Original
|
PROTECTED
Protected
|
Modifier and Type | Method and Description |
---|---|
static DownloadTypes |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DownloadTypes[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DownloadTypes ORIGINAL
public static final DownloadTypes PROTECTED
public static final DownloadTypes MAX_ALLOWED
public static final DownloadTypes ENCRYPTED
public static DownloadTypes[] values()
for (DownloadTypes c : DownloadTypes.values()) System.out.println(c);
public static DownloadTypes 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.