public class ZxingUtils extends Object
| 构造器和说明 |
|---|
ZxingUtils() |
| 限定符和类型 | 方法和说明 |
|---|---|
static File |
getQRCodeImge(String contents,
int width,
int height,
String imgPath)
将内容contents生成长为width,宽为width的图片,图片路径由imgPath指定
|
static File |
getQRCodeImge(String contents,
int width,
String imgPath)
将内容contents生成长宽均为width的图片,图片路径由imgPath指定
|
static void |
main(String[] args)
The entry point of application.
|
public static File getQRCodeImge(String contents, int width, String imgPath)
contents - the contentswidth - the widthimgPath - the img pathpublic static File getQRCodeImge(String contents, int width, int height, String imgPath)
contents - the contentswidth - the widthheight - the heightimgPath - the img pathpublic static void main(String[] args)
args - the input argumentsCopyright © 2018. All rights reserved.