public enum InverseMode extends java.lang.Enum<InverseMode>
InverseMode is an enumeration defining the decoding mode for regular/reverse barcodes.
This enumeration specifies the allowed options.
The type is one of:
| REGULAR ONLY | Only regular decoding mode is allowed. |
| REVERSE ONLY | Only reverse decoding mode is allowed. |
| BOTH | Both regular and reverse decoding mode are allowed. |
| Enum Constant and Description |
|---|
BOTH
Regular and Reverse
|
REGULAR_ONLY
Regular decoding mode
|
REVERSE_ONLY
Reverse decoding mode
|
| Modifier and Type | Method and Description |
|---|---|
static InverseMode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static InverseMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final InverseMode REGULAR_ONLY
public static final InverseMode REVERSE_ONLY
public static final InverseMode BOTH
public static InverseMode[] values()
for (InverseMode c : InverseMode.values()) System.out.println(c);
public static InverseMode 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