public static enum Compression.CompressionLevel extends java.lang.Enum<Compression.CompressionLevel>
| Modifier and Type | Method and Description |
|---|---|
int |
getLevel() |
static Compression.CompressionLevel |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Compression.CompressionLevel[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Compression.CompressionLevel BEST
public static final Compression.CompressionLevel NORMAL
public static final Compression.CompressionLevel FASTEST
public static Compression.CompressionLevel[] values()
for (Compression.CompressionLevel c : Compression.CompressionLevel.values()) System.out.println(c);
public static Compression.CompressionLevel 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 int getLevel()