TUPCEANReader Class
Encapsulates functionality and implementation that is common to UPC and EAN families of one-dimensional barcodes.
ZXing.OneD.UPCEANReader.TUPCEANReader
ZXing.OneD.EAN13Reader.TEAN13Reader
ZXing.OneD.EAN8Reader.TEAN8Reader
ZXing.OneD.UPCAReader.TUPCAReader
ZXing.OneD.UPCEReader.TUPCEReader
The TUPCEANReader type exposes the following members.
Name | Description | |
---|---|---|
![]() | BarcodeFormat | Get the format of this decoder. |
![]() ![]() | DecodeMiddle | Subclasses override this to decode the portion of a barcode between the start and end guard patterns. |
![]() | DoDecodeRow | Like decodeRow(int, BitArray, java.util.Map), but allows caller to inform method about where the UPC/EAN start pattern is found. This allows this to be computed once and reused across many implementations. |
![]() ![]() | checkChecksum | |
![]() ![]() | decodeDigit | Attempts to decode a single UPC/EAN-encoded digit. |
![]() ![]() | decodeEnd | Decodes the end. |
![]() | decodeRow | Overloaded.
Attempts to decode a one-dimensional barcode format given a single row of an image. (Overrides ZXing.OneD.OneDReader.TOneDReader.decodeRow .) |
![]() ![]() | findGuardPattern | Overloaded. |
![]() ![]() | findStartGuardPattern |
Name | Description | |
---|---|---|
![]() ![]() | L_AND_G_PATTERNS | As above but also including the "even", or "G" patterns used to encode UPC/EAN digits. |
![]() ![]() | L_PATTERNS | "Odd", or "L" patterns used to encode UPC/EAN digits. |
![]() ![]() | MAX_AVG_VARIANCE | |
![]() ![]() | MAX_INDIVIDUAL_VARIANCE | |
![]() ![]() | MIDDLE_PATTERN | Pattern marking the middle of a UPC/EAN pattern, separating the two halves. |
![]() ![]() | START_END_PATTERN | Start/end guard pattern. |