public enum CompressionLevel extends java.lang.Enum<CompressionLevel>
| Modifier and Type | Method and Description |
|---|---|
static CompressionLevel |
getCompressionLevel(java.lang.String compression)
Set compression level.
|
static CompressionLevel |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static CompressionLevel[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CompressionLevel OFF
public static final CompressionLevel ON
public static final CompressionLevel FORCE
public static CompressionLevel[] values()
for (CompressionLevel c : CompressionLevel.values()) System.out.println(c);
public static 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 static CompressionLevel getCompressionLevel(java.lang.String compression)
Copyright © 2014 Oracle Corporation. All Rights Reserved.