public enum ChecksumMode extends Enum<ChecksumMode>
| Enum Constant and Description |
|---|
ADD
Adds the necessary checksum to the message to be encoded.
|
AUTO
Chooses the barcode's default checksum behavior.
|
CHECK
Requires the check character to be present in the message.
|
IGNORE
Does not check nor add a checksum.
|
| Modifier and Type | Method and Description |
|---|---|
static ChecksumMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ChecksumMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ChecksumMode ADD
public static final ChecksumMode AUTO
public static final ChecksumMode CHECK
public static final ChecksumMode IGNORE
public static ChecksumMode[] values()
for (ChecksumMode c : ChecksumMode.values()) System.out.println(c);
public static ChecksumMode 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 null
© 2016 ZIH Corp. All Rights Reserved.