public static enum DiskCache2.CachePathPolicy extends java.lang.Enum<DiskCache2.CachePathPolicy>
Enum Constant and Description |
---|
NestedDirectory |
NestedTruncate |
OneDirectory |
Modifier and Type | Method and Description |
---|---|
static DiskCache2.CachePathPolicy |
valueOf(java.lang.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(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic static DiskCache2.CachePathPolicy[] values()
for (DiskCache2.CachePathPolicy c : DiskCache2.CachePathPolicy.values()) System.out.println(c);