public static enum ZlibCompressor.CompressionLevel extends Enum<ZlibCompressor.CompressionLevel>
Enum Constant and Description |
---|
BEST_COMPRESSION
Compression level for best compression.
|
BEST_SPEED
Compression level for fastest compression.
|
DEFAULT_COMPRESSION
Default compression level.
|
NO_COMPRESSION
Compression level for no compression.
|
Modifier and Type | Method and Description |
---|---|
static ZlibCompressor.CompressionLevel |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ZlibCompressor.CompressionLevel[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ZlibCompressor.CompressionLevel NO_COMPRESSION
public static final ZlibCompressor.CompressionLevel BEST_SPEED
public static final ZlibCompressor.CompressionLevel BEST_COMPRESSION
public static final ZlibCompressor.CompressionLevel DEFAULT_COMPRESSION
public static ZlibCompressor.CompressionLevel[] values()
for (ZlibCompressor.CompressionLevel c : ZlibCompressor.CompressionLevel.values()) System.out.println(c);
public static ZlibCompressor.CompressionLevel 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 nullCopyright © 2013 Apache Software Foundation. All rights reserved.