public static enum ZlibCodec.Mode extends Enum<ZlibCodec.Mode>
| Enum Constant and Description |
|---|
AUTO
|
RAW
Raw mode for DEFLATE stream only (no header and no footer).
|
ZLIB
The ZLIB mode as specified in
RFC 1950.
|
| Modifier and Type | Method and Description |
|---|---|
static ZlibCodec.Mode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ZlibCodec.Mode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ZlibCodec.Mode ZLIB
public static final ZlibCodec.Mode RAW
public static final ZlibCodec.Mode AUTO
public static ZlibCodec.Mode[] values()
for (ZlibCodec.Mode c : ZlibCodec.Mode.values()) System.out.println(c);
public static ZlibCodec.Mode 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 nullCopyright © 2017–2022 SNF4J.ORG. All rights reserved.