Package com.google.zxing.oned
Class MultiFormatUPCEANReader
java.lang.Object
com.google.zxing.oned.OneDReader
com.google.zxing.oned.MultiFormatUPCEANReader
- All Implemented Interfaces:
- Reader
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.
- Author:
- Sean Owen
- 
Constructor SummaryConstructors
- 
Method SummaryMethods inherited from class com.google.zxing.oned.OneDReaderdecode, decode, patternMatchVariance, recordPattern, recordPatternInReverse
- 
Constructor Details- 
MultiFormatUPCEANReader
 
- 
- 
Method Details- 
decodeRowpublic 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 class- OneDReader
- Parameters:
- rowNumber- row number from top of the row
- row- the black/white pixel data of the row
- hints- decode hints
- Returns:
- Resultcontaining encoded string and start/end of barcode
- Throws:
- NotFoundException- if no potential barcode is found
 
- 
resetpublic void reset()Description copied from interface:ReaderResets any internal state the implementation has after a decode, to prepare it for reuse.- Specified by:
- resetin interface- Reader
- Overrides:
- resetin class- OneDReader
 
 
-