public static enum ZlibDecompressor.CompressionHeader extends Enum<ZlibDecompressor.CompressionHeader>
Enum Constant and Description |
---|
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.
|
Modifier and Type | Method and Description |
---|---|
static ZlibDecompressor.CompressionHeader |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ZlibDecompressor.CompressionHeader[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
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
- 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 nullpublic int windowBits()
Copyright © 2010 The Apache Software Foundation