Package com.google.zxing
Enum BarcodeFormat
- All Implemented Interfaces:
Serializable
,Comparable<BarcodeFormat>
,java.lang.constant.Constable
Enumerates barcode formats known to this package. Please keep alphabetized.
- Author:
- Sean Owen
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionAztec 2D barcode format.CODABAR 1D format.Code 128 1D format.Code 39 1D format.Code 93 1D format.Data Matrix 2D barcode format.EAN-13 1D format.EAN-8 1D format.ITF (Interleaved Two of Five) 1D format.MaxiCode 2D barcode format.PDF417 format.QR Code 2D barcode format.RSS 14RSS EXPANDEDUPC-A 1D format.UPC-E 1D format.UPC/EAN extension format. -
Method Summary
Modifier and TypeMethodDescriptionstatic BarcodeFormat
Returns the enum constant of this type with the specified name.static BarcodeFormat[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
AZTEC
Aztec 2D barcode format. -
CODABAR
CODABAR 1D format. -
CODE_39
Code 39 1D format. -
CODE_93
Code 93 1D format. -
CODE_128
Code 128 1D format. -
DATA_MATRIX
Data Matrix 2D barcode format. -
EAN_8
EAN-8 1D format. -
EAN_13
EAN-13 1D format. -
ITF
ITF (Interleaved Two of Five) 1D format. -
MAXICODE
MaxiCode 2D barcode format. -
PDF_417
PDF417 format. -
QR_CODE
QR Code 2D barcode format. -
RSS_14
RSS 14 -
RSS_EXPANDED
RSS EXPANDED -
UPC_A
UPC-A 1D format. -
UPC_E
UPC-E 1D format. -
UPC_EAN_EXTENSION
UPC/EAN extension format. Not a stand-alone format.
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-