public final class EAN8Reader extends UPCEANReader
Implements decoding of the EAN-8 format.
Modifier and Type | Field and Description |
---|---|
private int[] |
decodeMiddleCounters |
END_PATTERN, L_AND_G_PATTERNS, L_PATTERNS, MIDDLE_PATTERN, START_END_PATTERN
Constructor and Description |
---|
EAN8Reader() |
Modifier and Type | Method and Description |
---|---|
protected int |
decodeMiddle(BitArray row,
int[] startRange,
java.lang.StringBuilder result)
Subclasses override this to decode the portion of a barcode between the start
and end guard patterns.
|
(package private) BarcodeFormat |
getBarcodeFormat()
Get the format of this decoder.
|
checkChecksum, checkStandardUPCEANChecksum, decodeDigit, decodeEnd, decodeRow, decodeRow, findGuardPattern, findStartGuardPattern, getStandardUPCEANChecksum
decode, decode, patternMatchVariance, recordPattern, recordPatternInReverse, reset
protected int decodeMiddle(BitArray row, int[] startRange, java.lang.StringBuilder result) throws NotFoundException
UPCEANReader
decodeMiddle
in class UPCEANReader
row
- row of black/white values to searchstartRange
- start/end offset of start guard patternresult
- StringBuilder
to append decoded chars toNotFoundException
- if decoding could not complete successfullyBarcodeFormat getBarcodeFormat()
UPCEANReader
getBarcodeFormat
in class UPCEANReader