Package com.google.zxing.oned.rss
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
-
-
Field Summary
-
Fields inherited from class com.google.zxing.oned.OneDReader
INTEGER_MATH_SHIFT, PATTERN_MATCH_RESULT_SCALE_FACTOR
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedAbstractRSSReader()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected static intcount(int[] array)protected static voiddecrement(int[] array, float[] errors)protected int[]getDataCharacterCounters()protected int[]getDecodeFinderCounters()protected int[]getEvenCounts()protected float[]getEvenRoundingErrors()protected int[]getOddCounts()protected float[]getOddRoundingErrors()protected static voidincrement(int[] array, float[] errors)protected static booleanisFinderPattern(int[] counters)protected static intparseFinderValue(int[] counters, int[][] finderPatterns)-
Methods inherited from class com.google.zxing.oned.OneDReader
decode, decode, decodeRow, patternMatchVariance, recordPattern, recordPatternInReverse, reset
-
-
-
-
Method Detail
-
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
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)
-
-