|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Object java.lang.Enum<ZlibDecompressor.CompressionHeader> org.apache.hadoop.io.compress.zlib.ZlibDecompressor.CompressionHeader
public static enum ZlibDecompressor.CompressionHeader
The headers to detect from compressed data.
Enum Constant Summary | |
---|---|
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. |
Method Summary | |
---|---|
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()
|
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
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
Method Detail |
---|
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 name
NullPointerException
- if the argument is nullpublic int windowBits()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |