public enum Pdf417ErrorLevel extends java.lang.Enum<Pdf417ErrorLevel>
pdf417 barcode's error correction level, from level 0 to level 9, level 0 means no error correction, level 9 means best error correction
Enum Constant and Description |
---|
Level0
level = 0.
|
Level1
level = 1.
|
Level2
level = 2.
|
Level3
level = 3.
|
Level4
level = 4.
|
Level5
level = 5.
|
Level6
level = 6.
|
Level7
level = 7.
|
Level8
level = 8.
|
Modifier and Type | Method and Description |
---|---|
int |
getValue() |
static Pdf417ErrorLevel |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Pdf417ErrorLevel[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Pdf417ErrorLevel Level0
level = 0.
public static final Pdf417ErrorLevel Level1
level = 1.
public static final Pdf417ErrorLevel Level2
level = 2.
public static final Pdf417ErrorLevel Level3
level = 3.
public static final Pdf417ErrorLevel Level4
level = 4.
public static final Pdf417ErrorLevel Level5
level = 5.
public static final Pdf417ErrorLevel Level6
level = 6.
public static final Pdf417ErrorLevel Level7
level = 7.
public static final Pdf417ErrorLevel Level8
level = 8.
public static Pdf417ErrorLevel[] values()
for (Pdf417ErrorLevel c : Pdf417ErrorLevel.values()) System.out.println(c);
public static Pdf417ErrorLevel 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 nullpublic int getValue()