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