Enum BarcodeEncoding

All Implemented Interfaces:
Serializable, Comparable<BarcodeEncoding>, java.lang.constant.Constable

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

  • Enum Constant Details

    • 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 Details

    • values

      public static BarcodeEncoding[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      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.)
      name - the name of the enum constant to be returned.
      the enum constant with the specified name
      IllegalArgumentException - if this enum type has no constant with the specified name
      NullPointerException - if the argument is null