Class AbstractRSSReader

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

public abstract class AbstractRSSReader extends OneDReader
Superclass of OneDReader implementations that read barcodes in the RSS family of formats.
  • Constructor Details

    • AbstractRSSReader

      protected AbstractRSSReader()
  • Method Details

    • getDecodeFinderCounters

      protected final int[] getDecodeFinderCounters()
    • getDataCharacterCounters

      protected final int[] getDataCharacterCounters()
    • getOddRoundingErrors

      protected final float[] getOddRoundingErrors()
    • getEvenRoundingErrors

      protected final float[] getEvenRoundingErrors()
    • getOddCounts

      protected final int[] getOddCounts()
    • getEvenCounts

      protected final int[] getEvenCounts()
    • parseFinderValue

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

      @Deprecated protected static int count(int[] array)
      Deprecated.
      Parameters:
      array - values to sum
      Returns:
      sum of values
    • 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)