public final class UPCEReader extends UPCEANReader
Implements decoding of the UPC-E format.
This is a great reference for UPC-E information.
| Constructor and Description | 
|---|
| UPCEReader() | 
| Modifier and Type | Method and Description | 
|---|---|
| protected boolean | checkChecksum(String s) | 
| static String | convertUPCEtoUPCA(String upce)Expands a UPC-E value back into its full, equivalent UPC-A code value. | 
| protected int[] | decodeEnd(BitArray row,
         int endStart) | 
| protected int | decodeMiddle(BitArray row,
            int[] startRange,
            StringBuilder result)Subclasses override this to decode the portion of a barcode between the start
 and end guard patterns. | 
decodeRow, decodeRowdecode, decode, patternMatchVariance, recordPattern, recordPatternInReverse, resetprotected int decodeMiddle(BitArray row, int[] startRange, StringBuilder result) throws NotFoundException
UPCEANReaderdecodeMiddle in class UPCEANReaderrow - row of black/white values to searchstartRange - start/end offset of start guard patternresult - StringBuilder to append decoded chars toNotFoundException - if decoding could not complete successfullyprotected int[] decodeEnd(BitArray row, int endStart) throws NotFoundException
NotFoundExceptionprotected boolean checkChecksum(String s) throws FormatException
s - string of digits to checkUPCEANReader.checkStandardUPCEANChecksum(CharSequence)FormatException - if the string does not contain only digitsCopyright © 2007–2018. All rights reserved.