public static enum ZlibCompressor.CompressionHeader extends Enum<ZlibCompressor.CompressionHeader>
Enum Constant and Description |
---|
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 ZlibCompressor.CompressionHeader |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ZlibCompressor.CompressionHeader[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
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
- 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