docs/apidocs/com/google/zxing/oned/EAN8Reader.html
Package com.google.zxing.oned
java.lang.Object com.google.zxing.oned.OneDReader com.google.zxing.oned.UPCEANReader com.google.zxing.oned.EAN8Reader
All Implemented Interfaces:Reader
public final class EAN8Readerextends UPCEANReader
Implements decoding of the EAN-8 format.
Constructors
Constructor
Description
EAN8Reader()
All MethodsInstance MethodsConcrete Methods
Modifier and Type
Method
Description
protected int
decodeMiddle(BitArray row, int[] startRange, StringBuilder result)
Subclasses override this to decode the portion of a barcode between the start and end guard patterns.
decodeRow, decodeRow
decode, decode, patternMatchVariance, recordPattern, recordPatternInReverse, reset
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
public EAN8Reader()
protected int decodeMiddle(BitArray row, int[] startRange, StringBuilder result) throws NotFoundException
Description copied from class: UPCEANReader
Subclasses override this to decode the portion of a barcode between the start and end guard patterns.
Specified by:decodeMiddle in class UPCEANReaderParameters:row - row of black/white values to searchstartRange - start/end offset of start guard patternresult - StringBuilder to append decoded chars toReturns:horizontal offset of first pixel after the "middle" that was decodedThrows:NotFoundException - if decoding could not complete successfully