public class ZxingUtil extends Object
| 构造器和说明 |
|---|
ZxingUtil() |
| 限定符和类型 | 方法和说明 |
|---|---|
static void |
barCode(String contents,
String imgPath)
Bar code.
|
static void |
barCode(String contents,
String imgPath,
int width,
int height)
Bar code.
|
static com.google.zxing.common.BitMatrix |
deleteWhite(com.google.zxing.common.BitMatrix matrix)
Delete white bit matrix.
|
static void |
main(String[] args)
The entry point of application.
|
static void |
qrCode(int width,
int height,
String content,
String suffix,
String imgPath)
Qr code.
|
static void |
qrCode(String content,
String suffix,
String imgPath)
Qr code.
|
public static void barCode(String contents, String imgPath, int width, int height)
contents - the contentsimgPath - the img pathwidth - the widthheight - the heightpublic static void qrCode(int width,
int height,
String content,
String suffix,
String imgPath)
width - the widthheight - the heightcontent - the contentsuffix - the suffiximgPath - the img pathpublic static void barCode(String contents, String imgPath)
contents - the contentsimgPath - the img pathpublic static void qrCode(String content, String suffix, String imgPath)
content - the contentsuffix - the suffiximgPath - the img pathpublic static com.google.zxing.common.BitMatrix deleteWhite(com.google.zxing.common.BitMatrix matrix)
matrix - the matrixpublic static void main(String[] args)
args - the input argumentsCopyright © 2018. All rights reserved.