public enum Codec extends Enum<Codec>
| Modifier and Type | Method and Description |
|---|---|
static Codec |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Codec[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Codec RAW
public static final Codec GZIP
public static final Codec LZOP
public static final Codec ZSTD
public static final Codec CUSTOM
public static Codec[] values()
for (Codec c : Codec.values()) System.out.println(c);
public static Codec 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 © 2025. All rights reserved.