package com.google.zxing.oned;
-import com.google.zxing.ReaderException;
import com.google.zxing.BarcodeFormat;
+import com.google.zxing.NotFoundException;
import com.google.zxing.common.BitArray;
/**
*
* @author Sean Owen
*/
-public final class EAN8Reader extends AbstractUPCEANReader {
+public final class EAN8Reader extends UPCEANReader {
private final int[] decodeMiddleCounters;
}
protected int decodeMiddle(BitArray row, int[] startRange, StringBuffer result)
- throws ReaderException {
+ throws NotFoundException {
int[] counters = decodeMiddleCounters;
counters[0] = 0;
counters[1] = 0;
}
BarcodeFormat getBarcodeFormat() {
- return BarcodeFormat.EAN_8;
+ return BarcodeFormat.EAN_8;
}
-}
\ No newline at end of file
+}