com.google.zxing.oned.rss
Class RSS14Reader

java.lang.Object
  extended by com.google.zxing.oned.OneDReader
      extended by com.google.zxing.oned.rss.AbstractRSSReader
          extended by com.google.zxing.oned.rss.RSS14Reader
All Implemented Interfaces:
Reader

public final class RSS14Reader
extends AbstractRSSReader

Decodes RSS-14, including truncated and stacked variants. See ISO/IEC 24724:2006.


Field Summary
 
Fields inherited from class com.google.zxing.oned.OneDReader
INTEGER_MATH_SHIFT, PATTERN_MATCH_RESULT_SCALE_FACTOR
 
Constructor Summary
RSS14Reader()
           
 
Method Summary
 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.
 
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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RSS14Reader

public RSS14Reader()
Method Detail

decodeRow

public Result decodeRow(int rowNumber,
                        BitArray row,
                        Map<DecodeHintType,?> hints)
                 throws NotFoundException
Description copied from class: OneDReader

Attempts to decode a one-dimensional barcode format given a single row of an image.

Specified by:
decodeRow in class OneDReader
Parameters:
rowNumber - row number from top of the row
row - the black/white pixel data of the row
hints - decode hints
Returns:
Result containing encoded string and start/end of barcode
Throws:
NotFoundException - if an error occurs or barcode cannot be found

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 interface Reader
Overrides:
reset in class OneDReader


Copyright © 2007-2012. All Rights Reserved.