public final class Code128Reader extends OneDReader
Decodes Code 128 barcodes.
| 构造器和说明 |
|---|
Code128Reader() |
| 限定符和类型 | 方法和说明 |
|---|---|
Result |
decodeRow(int rowNumber,
BitArray row,
java.util.Map<DecodeHintType,?> hints)
Attempts to decode a one-dimensional barcode format given a single row of
an image.
|
decode, decode, resetpublic Result decodeRow(int rowNumber, BitArray row, java.util.Map<DecodeHintType,?> hints) throws NotFoundException, FormatException, ChecksumException
OneDReaderAttempts to decode a one-dimensional barcode format given a single row of an image.
decodeRow 在类中 OneDReaderrowNumber - row number from top of the rowrow - the black/white pixel data of the rowhints - decode hintsResult containing encoded string and start/end of barcodeNotFoundException - if no potential barcode is foundFormatException - if a potential barcode is found but format is invalidChecksumException - if a potential barcode is found but does not pass its checksum