public static enum ScannerConfig.BooklandFormat extends Enum<ScannerConfig.BooklandFormat>
Example Usage: BooklandFormat.ISBN_10;
Enum Constant and Description |
---|
ISBN_10
978 reported in 10 digit mode
|
ISBN_13
978/979 transmitted as EAN13 as per 2007 ISBN-13 protocol
|
Modifier and Type | Method and Description |
---|---|
static ScannerConfig.BooklandFormat |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ScannerConfig.BooklandFormat[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ScannerConfig.BooklandFormat ISBN_10
public static final ScannerConfig.BooklandFormat ISBN_13
public static ScannerConfig.BooklandFormat[] values()
for (ScannerConfig.BooklandFormat c : ScannerConfig.BooklandFormat.values()) System.out.println(c);
public static ScannerConfig.BooklandFormat 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