java.io.Serializable, java.lang.Comparable<CodecPolicy>public enum CodecPolicy extends java.lang.Enum<CodecPolicy>
| Enum Constant | Description |
|---|---|
LENIENT |
The lenient policy.
|
STRICT |
The strict policy.
|
| Modifier and Type | Method | Description |
|---|---|---|
static CodecPolicy |
valueOf(java.lang.String name) |
Returns the enum constant of this type with the specified name.
|
static CodecPolicy[] |
values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CodecPolicy STRICT
public static final CodecPolicy LENIENT
public static CodecPolicy[] values()
for (CodecPolicy c : CodecPolicy.values()) System.out.println(c);
public static CodecPolicy 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 null