Modifier and Type | Field and Description |
---|---|
private static FormatException |
FormatException.INSTANCE |
Modifier and Type | Method and Description |
---|---|
static FormatException |
FormatException.getFormatInstance() |
static FormatException |
FormatException.getFormatInstance(java.lang.Throwable cause) |
Modifier and Type | Method and Description |
---|---|
Result |
Reader.decode(BinaryBitmap image)
Locates and decodes a barcode in some format within an image.
|
Result |
Reader.decode(BinaryBitmap image,
java.util.Map<DecodeHintType,?> hints)
Locates and decodes a barcode in some format within an image.
|
Modifier and Type | Method and Description |
---|---|
Result |
AztecReader.decode(BinaryBitmap image)
Locates and decodes a Data Matrix code in an image.
|
Result |
AztecReader.decode(BinaryBitmap image,
java.util.Map<DecodeHintType,?> hints) |
Modifier and Type | Method and Description |
---|---|
private Decoder.CorrectedBitsResult |
Decoder.correctBits(boolean[] rawbits)
Performs RS error correction on an array of bits.
|
DecoderResult |
Decoder.decode(AztecDetectorResult detectorResult) |
private static java.lang.String |
Decoder.getEncodedData(boolean[] correctedBits)
Gets the string encoded in the aztec code bits
|
static java.lang.String |
Decoder.highLevelDecode(boolean[] correctedBits) |
Modifier and Type | Method and Description |
---|---|
void |
ECIStringBuilder.appendECI(int value)
Appends ECI value to output.
|
static CharacterSetECI |
CharacterSetECI.getCharacterSetECIByValue(int value) |
Modifier and Type | Method and Description |
---|---|
Result |
DataMatrixReader.decode(BinaryBitmap image)
Locates and decodes a Data Matrix code in an image.
|
Result |
DataMatrixReader.decode(BinaryBitmap image,
java.util.Map<DecodeHintType,?> hints) |
Modifier and Type | Method and Description |
---|---|
DecoderResult |
Decoder.decode(BitMatrix bits)
Decodes a Data Matrix Code represented as a
BitMatrix . |
DecoderResult |
Decoder.decode(boolean[][] image)
Convenience method that can decode a Data Matrix Code represented as a 2D array of booleans.
|
(package private) static DecoderResult |
DecodedBitStreamParser.decode(byte[] bytes) |
private static void |
DecodedBitStreamParser.decodeAnsiX12Segment(BitSource bits,
ECIStringBuilder result)
See ISO 16022:2006, 5.2.7
|
private static DecodedBitStreamParser.Mode |
DecodedBitStreamParser.decodeAsciiSegment(BitSource bits,
ECIStringBuilder result,
java.lang.StringBuilder resultTrailer,
java.util.Set<java.lang.Integer> fnc1positions)
See ISO 16022:2006, 5.2.3 and Annex C, Table C.2
|
private static void |
DecodedBitStreamParser.decodeBase256Segment(BitSource bits,
ECIStringBuilder result,
java.util.Collection<byte[]> byteSegments)
See ISO 16022:2006, 5.2.9 and Annex B, B.2
|
private static void |
DecodedBitStreamParser.decodeC40Segment(BitSource bits,
ECIStringBuilder result,
java.util.Set<java.lang.Integer> fnc1positions)
See ISO 16022:2006, 5.2.5 and Annex C, Table C.1
|
private static void |
DecodedBitStreamParser.decodeECISegment(BitSource bits,
ECIStringBuilder result)
See ISO 16022:2007, 5.4.1
|
private static void |
DecodedBitStreamParser.decodeTextSegment(BitSource bits,
ECIStringBuilder result,
java.util.Set<java.lang.Integer> fnc1positions)
See ISO 16022:2006, 5.2.6 and Annex C, Table C.2
|
static Version |
Version.getVersionForDimensions(int numRows,
int numColumns)
Deduces version information from Data Matrix dimensions.
|
(package private) byte[] |
BitMatrixParser.readCodewords()
Reads the bits in the
BitMatrix representing the mapping matrix (No alignment patterns)
in the correct order in order to reconstitute the codewords bytes contained within the
Data Matrix Code. |
private static Version |
BitMatrixParser.readVersion(BitMatrix bitMatrix)
Creates the version object based on the dimension of the original bit matrix from
the datamatrix code.
|
Constructor and Description |
---|
BitMatrixParser(BitMatrix bitMatrix) |
Modifier and Type | Method and Description |
---|---|
Result |
MaxiCodeReader.decode(BinaryBitmap image)
Locates and decodes a MaxiCode in an image.
|
Result |
MaxiCodeReader.decode(BinaryBitmap image,
java.util.Map<DecodeHintType,?> hints) |
Modifier and Type | Method and Description |
---|---|
DecoderResult |
Decoder.decode(BitMatrix bits) |
DecoderResult |
Decoder.decode(BitMatrix bits,
java.util.Map<DecodeHintType,?> hints) |
(package private) static DecoderResult |
DecodedBitStreamParser.decode(byte[] bytes,
int mode) |
Modifier and Type | Method and Description |
---|---|
Result |
ByQuadrantReader.decode(BinaryBitmap image) |
Result |
ByQuadrantReader.decode(BinaryBitmap image,
java.util.Map<DecodeHintType,?> hints) |
Modifier and Type | Method and Description |
---|---|
(package private) boolean |
UPCEANReader.checkChecksum(java.lang.String s) |
protected boolean |
UPCEReader.checkChecksum(java.lang.String s) |
(package private) static boolean |
UPCEANReader.checkStandardUPCEANChecksum(java.lang.CharSequence s)
Computes the UPC/EAN checksum on a string of digits, and reports
whether the checksum is correct or not.
|
Result |
OneDReader.decode(BinaryBitmap image) |
Result |
UPCAReader.decode(BinaryBitmap image) |
Result |
OneDReader.decode(BinaryBitmap image,
java.util.Map<DecodeHintType,?> hints) |
Result |
UPCAReader.decode(BinaryBitmap image,
java.util.Map<DecodeHintType,?> hints) |
private static java.lang.String |
Code39Reader.decodeExtended(java.lang.CharSequence encoded) |
private static java.lang.String |
Code93Reader.decodeExtended(java.lang.CharSequence encoded) |
Result |
UPCAReader.decodeRow(int rowNumber,
BitArray row,
int[] startGuardRange,
java.util.Map<DecodeHintType,?> hints) |
Result |
UPCEANReader.decodeRow(int rowNumber,
BitArray row,
int[] startGuardRange,
java.util.Map<DecodeHintType,?> hints)
Like
UPCEANReader.decodeRow(int, BitArray, Map) , but
allows caller to inform method about where the UPC/EAN start pattern is
found. |
Result |
Code128Reader.decodeRow(int rowNumber,
BitArray row,
java.util.Map<DecodeHintType,?> hints) |
Result |
Code39Reader.decodeRow(int rowNumber,
BitArray row,
java.util.Map<DecodeHintType,?> hints) |
Result |
Code93Reader.decodeRow(int rowNumber,
BitArray row,
java.util.Map<DecodeHintType,?> hints) |
Result |
ITFReader.decodeRow(int rowNumber,
BitArray row,
java.util.Map<DecodeHintType,?> hints) |
abstract Result |
OneDReader.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.
|
Result |
UPCAReader.decodeRow(int rowNumber,
BitArray row,
java.util.Map<DecodeHintType,?> hints) |
Result |
UPCEANReader.decodeRow(int rowNumber,
BitArray row,
java.util.Map<DecodeHintType,?> hints) |
(package private) static int |
UPCEANReader.getStandardUPCEANChecksum(java.lang.CharSequence s) |
private static Result |
UPCAReader.maybeReturnResult(Result result) |
Modifier and Type | Method and Description |
---|---|
(package private) static Result |
RSSExpandedReader.constructResult(java.util.List<ExpandedPair> pairs) |
Result |
RSSExpandedReader.decodeRow(int rowNumber,
BitArray row,
java.util.Map<DecodeHintType,?> hints) |
Modifier and Type | Method and Description |
---|---|
(package private) java.lang.String |
GeneralAppIdDecoder.decodeAllCodes(java.lang.StringBuilder buff,
int initialPosition) |
(package private) DecodedInformation |
GeneralAppIdDecoder.decodeGeneralPurposeField(int pos,
java.lang.String remaining) |
private DecodedChar |
GeneralAppIdDecoder.decodeIsoIec646(int pos) |
private DecodedNumeric |
GeneralAppIdDecoder.decodeNumeric(int pos) |
private DecodedInformation |
GeneralAppIdDecoder.parseBlocks() |
java.lang.String |
AI01392xDecoder.parseInformation() |
java.lang.String |
AI01393xDecoder.parseInformation() |
java.lang.String |
AI01AndOtherAIs.parseInformation() |
abstract java.lang.String |
AbstractExpandedDecoder.parseInformation() |
java.lang.String |
AnyAIDecoder.parseInformation() |
private BlockParsedResult |
GeneralAppIdDecoder.parseIsoIec646Block() |
private BlockParsedResult |
GeneralAppIdDecoder.parseNumericBlock() |
Constructor and Description |
---|
DecodedNumeric(int newPosition,
int firstDigit,
int secondDigit) |
Modifier and Type | Method and Description |
---|---|
Result |
PDF417Reader.decode(BinaryBitmap image)
Locates and decodes a PDF417 code in an image.
|
Result |
PDF417Reader.decode(BinaryBitmap image,
java.util.Map<DecodeHintType,?> hints) |
private static Result[] |
PDF417Reader.decode(BinaryBitmap image,
java.util.Map<DecodeHintType,?> hints,
boolean multiple) |
Modifier and Type | Method and Description |
---|---|
private static int |
DecodedBitStreamParser.byteCompaction(int mode,
int[] codewords,
int codeIndex,
ECIStringBuilder result)
Byte Compaction mode (see 5.4.3) permits all 256 possible 8-bit byte values to be encoded.
|
private static DecoderResult |
PDF417ScanningDecoder.createDecoderResult(DetectionResult detectionResult) |
private static DecoderResult |
PDF417ScanningDecoder.createDecoderResultFromAmbiguousValues(int ecLevel,
int[] codewords,
int[] erasureArray,
int[] ambiguousIndexes,
int[][] ambiguousIndexValues)
This method deals with the fact, that the decoding process doesn't always yield a single most likely value.
|
static DecoderResult |
PDF417ScanningDecoder.decode(BitMatrix image,
ResultPoint imageTopLeft,
ResultPoint imageBottomLeft,
ResultPoint imageTopRight,
ResultPoint imageBottomRight,
int minCodewordWidth,
int maxCodewordWidth) |
(package private) static DecoderResult |
DecodedBitStreamParser.decode(int[] codewords,
java.lang.String ecLevel) |
private static java.lang.String |
DecodedBitStreamParser.decodeBase900toBase10(int[] codewords,
int count)
Convert a list of Numeric Compacted codewords from Base 900 to Base 10.
|
private static DecoderResult |
PDF417ScanningDecoder.decodeCodewords(int[] codewords,
int ecLevel,
int[] erasures) |
(package private) static int |
DecodedBitStreamParser.decodeMacroBlock(int[] codewords,
int codeIndex,
PDF417ResultMetadata resultMetadata) |
private static int |
DecodedBitStreamParser.numericCompaction(int[] codewords,
int codeIndex,
ECIStringBuilder result)
Numeric Compaction mode (see 5.4.4) permits efficient encoding of numeric data strings.
|
private static int |
DecodedBitStreamParser.textCompaction(int[] codewords,
int codeIndex,
ECIStringBuilder result)
Text Compaction mode (see 5.4.1.5) permits all printable ASCII characters to be
encoded, i.e.
|
private static void |
PDF417ScanningDecoder.verifyCodewordCount(int[] codewords,
int numECCodewords)
Verify that all is OK with the codeword array.
|
Modifier and Type | Method and Description |
---|---|
Result |
QRCodeReader.decode(BinaryBitmap image)
Locates and decodes a QR code in an image.
|
Result |
QRCodeReader.decode(BinaryBitmap image,
java.util.Map<DecodeHintType,?> hints) |
Modifier and Type | Method and Description |
---|---|
DecoderResult |
Decoder.decode(BitMatrix bits) |
DecoderResult |
Decoder.decode(BitMatrix bits,
java.util.Map<DecodeHintType,?> hints)
Decodes a QR Code represented as a
BitMatrix . |
private DecoderResult |
Decoder.decode(BitMatrixParser parser,
java.util.Map<DecodeHintType,?> hints) |
DecoderResult |
Decoder.decode(boolean[][] image) |
DecoderResult |
Decoder.decode(boolean[][] image,
java.util.Map<DecodeHintType,?> hints)
Convenience method that can decode a QR Code represented as a 2D array of booleans.
|
(package private) static DecoderResult |
DecodedBitStreamParser.decode(byte[] bytes,
Version version,
ErrorCorrectionLevel ecLevel,
java.util.Map<DecodeHintType,?> hints) |
private static void |
DecodedBitStreamParser.decodeAlphanumericSegment(BitSource bits,
java.lang.StringBuilder result,
int count,
boolean fc1InEffect) |
private static void |
DecodedBitStreamParser.decodeByteSegment(BitSource bits,
java.lang.StringBuilder result,
int count,
CharacterSetECI currentCharacterSetECI,
java.util.Collection<byte[]> byteSegments,
java.util.Map<DecodeHintType,?> hints) |
private static void |
DecodedBitStreamParser.decodeHanziSegment(BitSource bits,
java.lang.StringBuilder result,
int count)
See specification GBT 18284-2000
|
private static void |
DecodedBitStreamParser.decodeKanjiSegment(BitSource bits,
java.lang.StringBuilder result,
int count) |
private static void |
DecodedBitStreamParser.decodeNumericSegment(BitSource bits,
java.lang.StringBuilder result,
int count) |
static Version |
Version.getProvisionalVersionForDimension(int dimension)
Deduces version information purely from QR Code dimensions.
|
private static int |
DecodedBitStreamParser.parseECIValue(BitSource bits) |
(package private) byte[] |
BitMatrixParser.readCodewords()
Reads the bits in the
BitMatrix representing the finder pattern in the
correct order in order to reconstruct the codewords bytes contained within the
QR Code. |
(package private) FormatInformation |
BitMatrixParser.readFormatInformation()
Reads format information from one of its two locations within the QR Code.
|
(package private) Version |
BitMatrixParser.readVersion()
Reads version information from one of its two locations within the QR Code.
|
private static char |
DecodedBitStreamParser.toAlphaNumericChar(int value) |
Constructor and Description |
---|
BitMatrixParser(BitMatrix bitMatrix) |
Modifier and Type | Method and Description |
---|---|
DetectorResult |
Detector.detect()
Detects a QR Code in an image.
|
DetectorResult |
Detector.detect(java.util.Map<DecodeHintType,?> hints)
Detects a QR Code in an image.
|
protected DetectorResult |
Detector.processFinderPatternInfo(FinderPatternInfo info) |