public final class MultiFormatUPCEANReader extends OneDReader
A reader that can read all available UPC/EAN formats. If a caller wants to try to read all such formats, it is most efficient to use this implementation rather than invoke individual readers.
| Constructor and Description | 
|---|
| MultiFormatUPCEANReader(Map<DecodeHintType,?> hints) | 
| Modifier and Type | Method and Description | 
|---|---|
| Result | decodeRow(int rowNumber,
         BitArray row,
         Map<DecodeHintType,?> hints)Attempts to decode a one-dimensional barcode format given a single row of
 an image. | 
| void | reset()Resets any internal state the implementation has after a decode, to prepare it
 for reuse. | 
decode, decode, patternMatchVariance, recordPattern, recordPatternInReversepublic MultiFormatUPCEANReader(Map<DecodeHintType,?> hints)
public Result decodeRow(int rowNumber, BitArray row, Map<DecodeHintType,?> hints) throws NotFoundException
OneDReaderAttempts to decode a one-dimensional barcode format given a single row of an image.
decodeRow in class OneDReaderrowNumber - row number from top of the rowrow - the black/white pixel data of the rowhints - decode hintsResult containing encoded string and start/end of barcodeNotFoundException - if no potential barcode is foundpublic void reset()
Readerreset in interface Readerreset in class OneDReaderCopyright © 2007–2018. All rights reserved.