Class UPCEReader

All Implemented Interfaces:
Reader

public final class UPCEReader extends UPCEANReader

Implements decoding of the UPC-E format.

This is a great reference for UPC-E information.

  • Field Details

    • MIDDLE_END_PATTERN

      private static final int[] MIDDLE_END_PATTERN
      The pattern that marks the middle, and end, of a UPC-E pattern. There is no "second half" to a UPC-E barcode.
    • NUMSYS_AND_CHECK_DIGIT_PATTERNS

      static final int[][] NUMSYS_AND_CHECK_DIGIT_PATTERNS
      See UPCEANReader.L_AND_G_PATTERNS; these values similarly represent patterns of even-odd parity encodings of digits that imply both the number system (0 or 1) used, and the check digit.
    • decodeMiddleCounters

      private final int[] decodeMiddleCounters
  • Constructor Details

    • UPCEReader

      public UPCEReader()
  • Method Details