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