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