Package tech.mgl.core.qrcode
Class MGL_QRCodeUtils
java.lang.Object
tech.mgl.core.qrcode.MGL_QRCodeUtils
二维码工具类
- Version:
- Thursday July 4th, 2013
- Author:
- MGL.TECH
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic enum -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic MGL_QRCodeUtils.Builderbuilder()解析二维码booleanencode()直接转为base64booleanencodeToOutput(OutputStream output) 生成二维码(内嵌LOGO)intgetLogo()getPath()intgetWidth()
-
Constructor Details
-
MGL_QRCodeUtils
-
-
Method Details
-
getPictureType
-
getPath
-
getWidth
public int getWidth() -
getHeight
public int getHeight() -
getLogo
-
getContent
-
encodeQRCode2Base64
直接转为base64- Returns:
- Throws:
Exception
-
encodeToOutput
生成二维码(内嵌LOGO)@title :
@param content
@param imgPath
@param output
@param needCompress
@return
@throws Exception
@company :
@author : www.mgl.tech
@date : 2016 Apr 9, 2016 10:02:12 AM
@description :
@return : boolean
- Throws:
Exception
-
encode
- Throws:
Exception
-
decode
解析二维码@title : @param file
@title : @return
@title : @throws Exception
@company :
@author : www.mgl.tech
@date : 2016 Apr 9, 2016 9:53:47 AM
@description :
@return : String
- Throws:
Exception
-
builder
-