public enum EncodeStrategy extends Enum<EncodeStrategy>
ResourceEncoder will encode a resource to cache.| Enum Constant and Description |
|---|
NONE
Will write no data.
|
SOURCE
Writes the original unmodified data for the resource to disk, not include downsampling or
transformations.
|
TRANSFORMED
Writes the decoded, downsampled and transformed data for the resource to disk.
|
| Modifier and Type | Method and Description |
|---|---|
static EncodeStrategy |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static EncodeStrategy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final EncodeStrategy SOURCE
public static final EncodeStrategy TRANSFORMED
public static final EncodeStrategy NONE
public static EncodeStrategy[] values()
for (EncodeStrategy c : EncodeStrategy.values()) System.out.println(c);
public static EncodeStrategy 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 null