Uses of Class
com.google.zxing.FormatException
-
-
Uses of FormatException in com.google.zxing
Fields in com.google.zxing declared as FormatException Modifier and Type Field Description private static FormatException
FormatException. INSTANCE
Methods in com.google.zxing that return FormatException Modifier and Type Method Description static FormatException
FormatException. getFormatInstance()
static FormatException
FormatException. getFormatInstance(java.lang.Throwable cause)
Methods in com.google.zxing that throw FormatException Modifier and Type Method 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. -
Uses of FormatException in com.google.zxing.aztec
Methods in com.google.zxing.aztec that throw FormatException Modifier and Type Method 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)
-
Uses of FormatException in com.google.zxing.aztec.decoder
Methods in com.google.zxing.aztec.decoder that throw FormatException Modifier and Type Method 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 bitsstatic java.lang.String
Decoder. highLevelDecode(boolean[] correctedBits)
-
Uses of FormatException in com.google.zxing.common
Methods in com.google.zxing.common that throw FormatException Modifier and Type Method Description void
ECIStringBuilder. appendECI(int value)
Appends ECI value to output.static CharacterSetECI
CharacterSetECI. getCharacterSetECIByValue(int value)
-
Uses of FormatException in com.google.zxing.datamatrix
Methods in com.google.zxing.datamatrix that throw FormatException Modifier and Type Method 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)
-
Uses of FormatException in com.google.zxing.datamatrix.decoder
Methods in com.google.zxing.datamatrix.decoder that throw FormatException Modifier and Type Method Description (package private) static DecoderResult
DecodedBitStreamParser. decode(byte[] bytes)
DecoderResult
Decoder. decode(boolean[][] image)
Convenience method that can decode a Data Matrix Code represented as a 2D array of booleans.DecoderResult
Decoder. decode(BitMatrix bits)
Decodes a Data Matrix Code represented as aBitMatrix
.private static void
DecodedBitStreamParser. decodeAnsiX12Segment(BitSource bits, ECIStringBuilder result)
See ISO 16022:2006, 5.2.7private 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.2private static void
DecodedBitStreamParser. decodeBase256Segment(BitSource bits, ECIStringBuilder result, java.util.Collection<byte[]> byteSegments)
See ISO 16022:2006, 5.2.9 and Annex B, B.2private 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.1private static void
DecodedBitStreamParser. decodeECISegment(BitSource bits, ECIStringBuilder result)
See ISO 16022:2007, 5.4.1private 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.2static Version
Version. getVersionForDimensions(int numRows, int numColumns)
Deduces version information from Data Matrix dimensions.(package private) byte[]
BitMatrixParser. readCodewords()
Reads the bits in theBitMatrix
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.Constructors in com.google.zxing.datamatrix.decoder that throw FormatException Constructor Description BitMatrixParser(BitMatrix bitMatrix)
-
Uses of FormatException in com.google.zxing.maxicode
Methods in com.google.zxing.maxicode that throw FormatException Modifier and Type Method Description Result
MaxiCodeReader. decode(BinaryBitmap image)
Locates and decodes a MaxiCode in an image.Result
MaxiCodeReader. decode(BinaryBitmap image, java.util.Map<DecodeHintType,?> hints)
-
Uses of FormatException in com.google.zxing.maxicode.decoder
Methods in com.google.zxing.maxicode.decoder that throw FormatException Modifier and Type Method Description (package private) static DecoderResult
DecodedBitStreamParser. decode(byte[] bytes, int mode)
DecoderResult
Decoder. decode(BitMatrix bits)
DecoderResult
Decoder. decode(BitMatrix bits, java.util.Map<DecodeHintType,?> hints)
-
Uses of FormatException in com.google.zxing.multi
Methods in com.google.zxing.multi that throw FormatException Modifier and Type Method Description Result
ByQuadrantReader. decode(BinaryBitmap image)
Result
ByQuadrantReader. decode(BinaryBitmap image, java.util.Map<DecodeHintType,?> hints)
-
Uses of FormatException in com.google.zxing.oned
Methods in com.google.zxing.oned that throw FormatException Modifier and Type Method 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
OneDReader. decode(BinaryBitmap image, java.util.Map<DecodeHintType,?> hints)
Result
UPCAReader. decode(BinaryBitmap image)
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
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, int[] startGuardRange, java.util.Map<DecodeHintType,?> hints)
Result
UPCAReader. decodeRow(int rowNumber, BitArray row, java.util.Map<DecodeHintType,?> hints)
Result
UPCEANReader. decodeRow(int rowNumber, BitArray row, int[] startGuardRange, java.util.Map<DecodeHintType,?> hints)
LikeUPCEANReader.decodeRow(int, BitArray, Map)
, but allows caller to inform method about where the UPC/EAN start pattern is found.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)
-
Uses of FormatException in com.google.zxing.oned.rss.expanded
Methods in com.google.zxing.oned.rss.expanded that throw FormatException Modifier and Type Method Description (package private) static Result
RSSExpandedReader. constructResult(java.util.List<ExpandedPair> pairs)
Result
RSSExpandedReader. decodeRow(int rowNumber, BitArray row, java.util.Map<DecodeHintType,?> hints)
-
Uses of FormatException in com.google.zxing.oned.rss.expanded.decoders
Methods in com.google.zxing.oned.rss.expanded.decoders that throw FormatException Modifier and Type Method 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()
abstract java.lang.String
AbstractExpandedDecoder. parseInformation()
java.lang.String
AI01392xDecoder. parseInformation()
java.lang.String
AI01393xDecoder. parseInformation()
java.lang.String
AI01AndOtherAIs. parseInformation()
java.lang.String
AnyAIDecoder. parseInformation()
private BlockParsedResult
GeneralAppIdDecoder. parseIsoIec646Block()
private BlockParsedResult
GeneralAppIdDecoder. parseNumericBlock()
Constructors in com.google.zxing.oned.rss.expanded.decoders that throw FormatException Constructor Description DecodedNumeric(int newPosition, int firstDigit, int secondDigit)
-
Uses of FormatException in com.google.zxing.pdf417
Methods in com.google.zxing.pdf417 that throw FormatException Modifier and Type Method 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)
-
Uses of FormatException in com.google.zxing.pdf417.decoder
Methods in com.google.zxing.pdf417.decoder that throw FormatException Modifier and Type Method 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.(package private) static DecoderResult
DecodedBitStreamParser. decode(int[] codewords, java.lang.String ecLevel)
static DecoderResult
PDF417ScanningDecoder. decode(BitMatrix image, ResultPoint imageTopLeft, ResultPoint imageBottomLeft, ResultPoint imageTopRight, ResultPoint imageBottomRight, int minCodewordWidth, int maxCodewordWidth)
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. -
Uses of FormatException in com.google.zxing.qrcode
Methods in com.google.zxing.qrcode that throw FormatException Modifier and Type Method 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)
-
Uses of FormatException in com.google.zxing.qrcode.decoder
Methods in com.google.zxing.qrcode.decoder that throw FormatException Modifier and Type Method Description (package private) static DecoderResult
DecodedBitStreamParser. decode(byte[] bytes, Version version, ErrorCorrectionLevel ecLevel, 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.DecoderResult
Decoder. decode(BitMatrix bits)
DecoderResult
Decoder. decode(BitMatrix bits, java.util.Map<DecodeHintType,?> hints)
Decodes a QR Code represented as aBitMatrix
.private DecoderResult
Decoder. decode(BitMatrixParser parser, 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-2000private 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 theBitMatrix
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)
Constructors in com.google.zxing.qrcode.decoder that throw FormatException Constructor Description BitMatrixParser(BitMatrix bitMatrix)
-
Uses of FormatException in com.google.zxing.qrcode.detector
Methods in com.google.zxing.qrcode.detector that throw FormatException Modifier and Type Method 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)
-