public enum FilePriority extends Enum<FilePriority>
Enum Constant and Description |
---|
HIGH_PRIORITY
Download this file with high priority.
|
NORMAL_PRIORITY
Download this file with normal priority.
|
SKIP
Skip this file.
|
Modifier and Type | Method and Description |
---|---|
static FilePriority |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static FilePriority[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final FilePriority SKIP
public static final FilePriority NORMAL_PRIORITY
public static final FilePriority HIGH_PRIORITY
public static FilePriority[] values()
for (FilePriority c : FilePriority.values()) System.out.println(c);
public static FilePriority 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 © 2016–2021. All rights reserved.