public enum CodeLengthType extends java.lang.Enum<CodeLengthType> implements IEnumType
Enum Constant and Description |
---|
AnyLength
Select this option to decode barcode symbols containing any number of characters within
the decoder’s capability.
|
OneLength
Select this option to decode barcode symbols containing a selected length.
|
Range
Select this option to decode a barcode symbol with a specific length range.
|
TwoLength
Select this option to decode barcode symbols containing either of two selected lengths.
|
Modifier and Type | Method and Description |
---|---|
int |
getCode() |
java.lang.String |
toString() |
static CodeLengthType |
valueOf(int code) |
static CodeLengthType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static CodeLengthType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CodeLengthType AnyLength
public static final CodeLengthType OneLength
public static final CodeLengthType TwoLength
public static final CodeLengthType Range
public static CodeLengthType[] values()
for (CodeLengthType c : CodeLengthType.values()) System.out.println(c);
public static CodeLengthType 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 java.lang.String toString()
toString
in interface IEnumType
toString
in class java.lang.Enum<CodeLengthType>
public static CodeLengthType valueOf(int code)