|
barcode4j 2.1.0 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.krysalis.barcode4j.ChecksumMode
public class ChecksumMode
Enumeration type for checksum policy.
Field Summary | |
---|---|
static ChecksumMode |
CP_ADD
"add" adds the necessary checksum to the message to be encoded |
static ChecksumMode |
CP_AUTO
"auto" chooses the barcode's default checksum behaviour |
static ChecksumMode |
CP_CHECK
"check" requires the check character to be present in the message. |
static ChecksumMode |
CP_IGNORE
"ignore" doesn't check nor add a checksum |
Constructor Summary | |
---|---|
protected |
ChecksumMode(java.lang.String name)
Creates a new ChecksumMode instance. |
Method Summary | |
---|---|
static ChecksumMode |
byName(java.lang.String name)
Returns a ChecksumMode instance by name. |
java.lang.String |
getName()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final ChecksumMode CP_AUTO
public static final ChecksumMode CP_IGNORE
public static final ChecksumMode CP_ADD
public static final ChecksumMode CP_CHECK
Constructor Detail |
---|
protected ChecksumMode(java.lang.String name)
name
- the name of the ChecksumModeMethod Detail |
---|
public java.lang.String getName()
public static ChecksumMode byName(java.lang.String name)
name
- the name of the ChecksumMode
|
barcode4j 2.1.0 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |