public static enum BarCode.Format extends Enum<BarCode.Format>
| Enum Constant and Description |
|---|
CODABAR |
CODE128 |
CODE128A |
CODE128B |
CODE128C |
CODE39 |
EAN13 |
EAN2 |
EAN5 |
EAN8 |
ITF |
ITF14 |
MSI |
MSI10 |
MSI1010 |
MSI11 |
MSI1110 |
PHARMACODE |
QR |
UPC |
UPCE |
| Modifier and Type | Method and Description |
|---|---|
boolean |
validate(String value)
Determine if value is valid for the corresponding barcode format.
|
static BarCode.Format |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static BarCode.Format[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BarCode.Format CODABAR
public static final BarCode.Format CODE39
public static final BarCode.Format CODE128
public static final BarCode.Format CODE128A
public static final BarCode.Format CODE128B
public static final BarCode.Format CODE128C
public static final BarCode.Format EAN2
public static final BarCode.Format EAN5
public static final BarCode.Format EAN8
public static final BarCode.Format EAN13
public static final BarCode.Format ITF
public static final BarCode.Format ITF14
public static final BarCode.Format MSI
public static final BarCode.Format MSI10
public static final BarCode.Format MSI11
public static final BarCode.Format MSI1010
public static final BarCode.Format MSI1110
public static final BarCode.Format PHARMACODE
public static final BarCode.Format QR
public static final BarCode.Format UPC
public static final BarCode.Format UPCE
public static BarCode.Format[] values()
for (BarCode.Format c : BarCode.Format.values()) System.out.println(c);
public static BarCode.Format 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 nullpublic boolean validate(String value)
value - Value to validate.Copyright © 2023 Fujion Framework. All rights reserved.