Package com.ironsoftware.ironpdf.stamp
Enum BarcodeEncoding
- java.lang.Object
-
- java.lang.Enum<BarcodeEncoding>
-
- com.ironsoftware.ironpdf.stamp.BarcodeEncoding
-
- All Implemented Interfaces:
Serializable
,Comparable<BarcodeEncoding>
public enum BarcodeEncoding extends Enum<BarcodeEncoding>
Barcode Encoding Types. Please check the supported characters for each encoding type as some do not support all symbols.See:
BarcodeStamper
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static BarcodeEncoding
valueOf(String name)
Returns the enum constant of this type with the specified name.static BarcodeEncoding[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
Code128
public static final BarcodeEncoding Code128
Code 128 (1D barcode format). Code 128 is a high-density linear barcode symbology defined in ISO/IEC 15417:2007. Supported characters include: All alphabetic and numeric characters.
-
Code39
public static final BarcodeEncoding Code39
Code 39 (1D barcode format). Code 39 is a variable length, discrete barcode symbology. The Code 39 specification defines 43 characters. Supported characters include: Digits from (0-9), Uppercase (A through Z), and these symbols: (-.$/+% space)
-
QRCode
public static final BarcodeEncoding QRCode
QR Code (2D barcode format). QR code (abbreviated from Quick Response Code) is a machine-readable optical label that contains information about the item to which it is attached. A QR code uses four standardized encoding modes to efficiently store data. Supported characters include: All numeric, alphanumeric, byte/binary, and Japanese kanji.
-
-
Method Detail
-
values
public static BarcodeEncoding[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (BarcodeEncoding c : BarcodeEncoding.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static BarcodeEncoding valueOf(String name)
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
-
-