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