java.io.Serializable, java.lang.Comparable<ZlibDecompressor.CompressionHeader>public static enum ZlibDecompressor.CompressionHeader extends java.lang.Enum<ZlibDecompressor.CompressionHeader>
| Enum Constant | 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 | Description |
|---|---|---|
static ZlibDecompressor.CompressionHeader |
valueOf(java.lang.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(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic int windowBits()
Copyright © 2008–2025 Apache Software Foundation. All rights reserved.