public static enum ZlibCompressor.CompressionHeader extends Enum<ZlibCompressor.CompressionHeader>
枚举常量和说明 |
---|
DEFAULT_HEADER
Default headers/trailers/checksums.
|
GZIP_FORMAT
Simple gzip headers/trailers.
|
NO_HEADER
No headers/trailers/checksums.
|
限定符和类型 | 方法和说明 |
---|---|
static ZlibCompressor.CompressionHeader |
valueOf(String name)
返回带有指定名称的该类型的枚举常量。
|
static ZlibCompressor.CompressionHeader[] |
values()
按照声明该枚举类型的常量的顺序, 返回
包含这些常量的数组。
|
int |
windowBits() |
public static final ZlibCompressor.CompressionHeader NO_HEADER
public static final ZlibCompressor.CompressionHeader DEFAULT_HEADER
public static final ZlibCompressor.CompressionHeader GZIP_FORMAT
public static ZlibCompressor.CompressionHeader[] values()
for (ZlibCompressor.CompressionHeader c : ZlibCompressor.CompressionHeader.values()) System.out.println(c);
public static ZlibCompressor.CompressionHeader valueOf(String name)
name
- 要返回的枚举常量的名称。public int windowBits()
Copyright © 2009 The Apache Software Foundation