public static enum ZlibCompressor.CompressionLevel extends Enum<ZlibCompressor.CompressionLevel>
枚举常量和说明 |
---|
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.
|
限定符和类型 | 方法和说明 |
---|---|
static ZlibCompressor.CompressionLevel |
valueOf(String name)
返回带有指定名称的该类型的枚举常量。
|
static ZlibCompressor.CompressionLevel[] |
values()
按照声明该枚举类型的常量的顺序, 返回
包含这些常量的数组。
|
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
- 要返回的枚举常量的名称。Copyright © 2009 The Apache Software Foundation