public enum ErrorCorrectionLevelEnum extends Enum<ErrorCorrectionLevelEnum> implements NamedEnum
Modifier and Type | Field and Description |
---|---|
static String |
EXCEPTION_MESSAGE_KEY_UNKNOWN_NAME |
Modifier and Type | Method and Description |
---|---|
static ErrorCorrectionLevelEnum |
getByName(String name) |
ErrorCorrectionLevel |
getErrorCorrectionLevel() |
String |
getName() |
static ErrorCorrectionLevelEnum |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ErrorCorrectionLevelEnum[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ErrorCorrectionLevelEnum L
public static final ErrorCorrectionLevelEnum M
public static final ErrorCorrectionLevelEnum Q
public static final ErrorCorrectionLevelEnum H
public static final String EXCEPTION_MESSAGE_KEY_UNKNOWN_NAME
public static ErrorCorrectionLevelEnum[] values()
for (ErrorCorrectionLevelEnum c : ErrorCorrectionLevelEnum.values()) System.out.println(c);
public static ErrorCorrectionLevelEnum 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 final ErrorCorrectionLevel getErrorCorrectionLevel()
public static ErrorCorrectionLevelEnum getByName(String name)
Copyright © 2016. All rights reserved.