Package com.google.zxing.oned
Class MultiFormatOneDReader
java.lang.Object
com.google.zxing.oned.OneDReader
com.google.zxing.oned.MultiFormatOneDReader
- All Implemented Interfaces:
Reader
- Author:
- dswitkin@google.com (Daniel Switkin), Sean Owen
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class com.google.zxing.oned.OneDReader
decode, decode, patternMatchVariance, recordPattern, recordPatternInReverse
-
Constructor Details
-
MultiFormatOneDReader
-
-
Method Details
-
decodeRow
public Result decodeRow(int rowNumber, BitArray row, Map<DecodeHintType, ?> hints) throws NotFoundExceptionDescription copied from class:OneDReaderAttempts to decode a one-dimensional barcode format given a single row of an image.
- Specified by:
decodeRowin classOneDReader- Parameters:
rowNumber- row number from top of the rowrow- the black/white pixel data of the rowhints- decode hints- Returns:
Resultcontaining encoded string and start/end of barcode- Throws:
NotFoundException- if no potential barcode is found
-
reset
public void reset()Description copied from interface:ReaderResets any internal state the implementation has after a decode, to prepare it for reuse.- Specified by:
resetin interfaceReader- Overrides:
resetin classOneDReader
-