| Package | Description |
|---|---|
| com.google.zxing |
This is a small portion of zxing, including only what's required to generate QR codes.
|
| com.google.zxing.client.j2se | |
| com.google.zxing.common | |
| com.google.zxing.qrcode | |
| com.google.zxing.qrcode.decoder |
| Modifier and Type | Method | Description |
|---|---|---|
BitMatrix |
Writer.encode(String contents,
BarcodeFormat format,
int width,
int height) |
Encode a barcode using the default settings.
|
BitMatrix |
Writer.encode(String contents,
BarcodeFormat format,
int width,
int height,
Map<EncodeHintType,?> hints) |
| Modifier and Type | Method | Description |
|---|---|---|
static BufferedImage |
MatrixToImageWriter.toBufferedImage(BitMatrix matrix) |
Renders a
BitMatrix as an image, where "false" bits are rendered
as white, and "true" bits are rendered as black. |
static BufferedImage |
MatrixToImageWriter.toBufferedImage(BitMatrix matrix,
MatrixToImageConfig config) |
As
MatrixToImageWriter.toBufferedImage(BitMatrix), but allows customization of the output. |
static void |
MatrixToImageWriter.writeToFile(BitMatrix matrix,
String format,
File file) |
Deprecated.
|
static void |
MatrixToImageWriter.writeToFile(BitMatrix matrix,
String format,
File file,
MatrixToImageConfig config) |
|
static void |
MatrixToImageWriter.writeToPath(BitMatrix matrix,
String format,
Path file) |
Writes a
BitMatrix to a file with default configuration. |
static void |
MatrixToImageWriter.writeToPath(BitMatrix matrix,
String format,
Path file,
MatrixToImageConfig config) |
As
MatrixToImageWriter.writeToFile(BitMatrix, String, File), but allows customization of the output. |
static void |
MatrixToImageWriter.writeToStream(BitMatrix matrix,
String format,
OutputStream stream) |
Writes a
BitMatrix to a stream with default configuration. |
static void |
MatrixToImageWriter.writeToStream(BitMatrix matrix,
String format,
OutputStream stream,
MatrixToImageConfig config) |
As
MatrixToImageWriter.writeToStream(BitMatrix, String, OutputStream), but allows customization of the output. |
| Modifier and Type | Method | Description |
|---|---|---|
BitMatrix |
BitMatrix.clone() |
|
static BitMatrix |
BitMatrix.parse(String stringRepresentation,
String setString,
String unsetString) |
| Modifier and Type | Method | Description |
|---|---|---|
void |
BitMatrix.xor(BitMatrix mask) |
Exclusive-or (XOR): Flip the bit in this
BitMatrix if the corresponding
mask bit is set. |
| Modifier and Type | Method | Description |
|---|---|---|
BitMatrix |
QRCodeWriter.encode(String contents,
BarcodeFormat format,
int width,
int height) |
|
BitMatrix |
QRCodeWriter.encode(String contents,
BarcodeFormat format,
int width,
int height,
Map<EncodeHintType,?> hints) |
| Modifier and Type | Method | Description |
|---|---|---|
(package private) BitMatrix |
Version.buildFunctionPattern() |
See ISO 18004:2006 Annex E
|