Class RSSExpandedReader
java.lang.Object
com.google.zxing.oned.OneDReader
com.google.zxing.oned.rss.AbstractRSSReader
com.google.zxing.oned.rss.expanded.RSSExpandedReader
- All Implemented Interfaces:
Reader
- Author:
- Pablo Orduña, University of Deusto (pablo.orduna@deusto.es), Eduardo Castillejo, University of Deusto (eduardo.castillejo@deusto.es)
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class com.google.zxing.oned.rss.AbstractRSSReader
count, decrement, getDataCharacterCounters, getDecodeFinderCounters, getEvenCounts, getEvenRoundingErrors, getOddCounts, getOddRoundingErrors, increment, isFinderPattern, parseFinderValue
Methods inherited from class com.google.zxing.oned.OneDReader
decode, decode, patternMatchVariance, recordPattern, recordPatternInReverse
-
Constructor Details
-
RSSExpandedReader
public RSSExpandedReader()
-
-
Method Details
-
decodeRow
public Result decodeRow(int rowNumber, BitArray row, Map<DecodeHintType, ?> hints) throws NotFoundException, FormatExceptionDescription copied from class:OneDReader
Attempts to decode a one-dimensional barcode format given a single row of an image.
- Specified by:
decodeRow
in classOneDReader
- Parameters:
rowNumber
- row number from top of the rowrow
- the black/white pixel data of the rowhints
- decode hints- Returns:
Result
containing encoded string and start/end of barcode- Throws:
NotFoundException
- if no potential barcode is foundFormatException
- if a potential barcode is found but format is invalid
-
reset
public void reset()Description copied from interface:Reader
Resets any internal state the implementation has after a decode, to prepare it for reuse.- Specified by:
reset
in interfaceReader
- Overrides:
reset
in classOneDReader
-