com.google.zxing.oned.rss
Class AbstractRSSReader

java.lang.Object
  extended by com.google.zxing.oned.OneDReader
      extended by com.google.zxing.oned.rss.AbstractRSSReader
All Implemented Interfaces:
Reader
Direct Known Subclasses:
RSS14Reader, RSSExpandedReader

public abstract class AbstractRSSReader
extends OneDReader


Field Summary
 
Fields inherited from class com.google.zxing.oned.OneDReader
INTEGER_MATH_SHIFT, PATTERN_MATCH_RESULT_SCALE_FACTOR
 
Constructor Summary
protected AbstractRSSReader()
           
 
Method Summary
protected static int count(int[] array)
           
protected static void decrement(int[] array, float[] errors)
           
protected  int[] getDataCharacterCounters()
           
protected  int[] getDecodeFinderCounters()
           
protected  int[] getEvenCounts()
           
protected  float[] getEvenRoundingErrors()
           
protected  int[] getOddCounts()
           
protected  float[] getOddRoundingErrors()
           
protected static void increment(int[] array, float[] errors)
           
protected static boolean isFinderPattern(int[] counters)
           
protected static int parseFinderValue(int[] counters, int[][] finderPatterns)
           
 
Methods inherited from class com.google.zxing.oned.OneDReader
decode, decode, decodeRow, patternMatchVariance, recordPattern, recordPatternInReverse, reset
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractRSSReader

protected AbstractRSSReader()
Method Detail

getDecodeFinderCounters

protected int[] getDecodeFinderCounters()

getDataCharacterCounters

protected int[] getDataCharacterCounters()

getOddRoundingErrors

protected float[] getOddRoundingErrors()

getEvenRoundingErrors

protected float[] getEvenRoundingErrors()

getOddCounts

protected int[] getOddCounts()

getEvenCounts

protected int[] getEvenCounts()

parseFinderValue

protected static int parseFinderValue(int[] counters,
                                      int[][] finderPatterns)
                               throws NotFoundException
Throws:
NotFoundException

count

protected static int count(int[] array)

increment

protected static void increment(int[] array,
                                float[] errors)

decrement

protected static void decrement(int[] array,
                                float[] errors)

isFinderPattern

protected static boolean isFinderPattern(int[] counters)