Package | Description |
---|---|
com.google.zxing.qrcode.decoder | |
com.google.zxing.qrcode.encoder |
Modifier and Type | Field and Description |
---|---|
private ErrorCorrectionLevel |
FormatInformation.errorCorrectionLevel |
private static ErrorCorrectionLevel[] |
ErrorCorrectionLevel.FOR_BITS |
Modifier and Type | Method and Description |
---|---|
static ErrorCorrectionLevel |
ErrorCorrectionLevel.forBits(int bits) |
(package private) ErrorCorrectionLevel |
FormatInformation.getErrorCorrectionLevel() |
static ErrorCorrectionLevel |
ErrorCorrectionLevel.valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ErrorCorrectionLevel[] |
ErrorCorrectionLevel.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
(package private) static DecoderResult |
DecodedBitStreamParser.decode(byte[] bytes,
Version version,
ErrorCorrectionLevel ecLevel,
java.util.Map<DecodeHintType,?> hints) |
(package private) static DataBlock[] |
DataBlock.getDataBlocks(byte[] rawCodewords,
Version version,
ErrorCorrectionLevel ecLevel)
When QR Codes use multiple data blocks, they are actually interleaved.
|
Version.ECBlocks |
Version.getECBlocksForLevel(ErrorCorrectionLevel ecLevel) |
Modifier and Type | Field and Description |
---|---|
private ErrorCorrectionLevel |
MinimalEncoder.ecLevel |
private ErrorCorrectionLevel |
QRCode.ecLevel |
Modifier and Type | Method and Description |
---|---|
ErrorCorrectionLevel |
QRCode.getECLevel() |
Modifier and Type | Method and Description |
---|---|
(package private) static void |
MatrixUtil.buildMatrix(BitArray dataBits,
ErrorCorrectionLevel ecLevel,
Version version,
int maskPattern,
ByteMatrix matrix) |
private static int |
Encoder.chooseMaskPattern(BitArray bits,
ErrorCorrectionLevel ecLevel,
Version version,
ByteMatrix matrix) |
private static Version |
Encoder.chooseVersion(int numInputBits,
ErrorCorrectionLevel ecLevel) |
(package private) static void |
MatrixUtil.embedTypeInfo(ErrorCorrectionLevel ecLevel,
int maskPattern,
ByteMatrix matrix) |
static QRCode |
Encoder.encode(java.lang.String content,
ErrorCorrectionLevel ecLevel) |
static QRCode |
Encoder.encode(java.lang.String content,
ErrorCorrectionLevel ecLevel,
java.util.Map<EncodeHintType,?> hints) |
(package private) static MinimalEncoder.ResultList |
MinimalEncoder.encode(java.lang.String stringToEncode,
Version version,
java.nio.charset.Charset priorityCharset,
boolean isGS1,
ErrorCorrectionLevel ecLevel)
Encodes the string minimally
|
(package private) static void |
MatrixUtil.makeTypeInfoBits(ErrorCorrectionLevel ecLevel,
int maskPattern,
BitArray bits) |
private static Version |
Encoder.recommendVersion(ErrorCorrectionLevel ecLevel,
Mode mode,
BitArray headerBits,
BitArray dataBits)
Decides the smallest version of QR code that will contain all of the provided data.
|
void |
QRCode.setECLevel(ErrorCorrectionLevel value) |
(package private) static boolean |
Encoder.willFit(int numInputBits,
Version version,
ErrorCorrectionLevel ecLevel) |
Constructor and Description |
---|
MinimalEncoder(java.lang.String stringToEncode,
java.nio.charset.Charset priorityCharset,
boolean isGS1,
ErrorCorrectionLevel ecLevel)
Creates a MinimalEncoder
|