public enum DecodingErrorMode extends Enum<DecodingErrorMode>
Enum Constant and Description |
---|
DUPLICATE_FRAMES
If a frame is undecodable, other frames will be duplicated to compensate for the lost frame.
|
FAIL_ON_ERROR
Encoding will fail, if there are errors during decoding of this stream
|
Modifier and Type | Method and Description |
---|---|
static DecodingErrorMode |
fromValue(String text) |
String |
getValue() |
String |
toString() |
static DecodingErrorMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DecodingErrorMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DecodingErrorMode FAIL_ON_ERROR
public static final DecodingErrorMode DUPLICATE_FRAMES
public static DecodingErrorMode[] values()
for (DecodingErrorMode c : DecodingErrorMode.values()) System.out.println(c);
public static DecodingErrorMode 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 String getValue()
public String toString()
toString
in class Enum<DecodingErrorMode>
public static DecodingErrorMode fromValue(String text)
Copyright © 2024. All rights reserved.