public interface QrCodeEnDeCoder
| 限定符和类型 | 方法和说明 |
|---|---|
String |
decode(BufferedImage image) |
String |
decodeFromBase64(String base64Img) |
String |
decodeFromPath(String imgPath) |
String |
encodeAsBase64(QrCodeConfig config) |
BufferedImage |
encodeAsBufferedImage(QrCodeConfig config) |
File |
encodeAsFile(QrCodeConfig config,
String imgPath) |
void |
write(QrCodeConfig config,
OutputStream outputStream) |
BufferedImage encodeAsBufferedImage(QrCodeConfig config) throws com.google.zxing.WriterException, IOException
com.google.zxing.WriterExceptionIOExceptionString encodeAsBase64(QrCodeConfig config) throws IOException, com.google.zxing.WriterException
IOExceptioncom.google.zxing.WriterExceptionvoid write(QrCodeConfig config, OutputStream outputStream) throws IOException, com.google.zxing.WriterException
IOExceptioncom.google.zxing.WriterExceptionFile encodeAsFile(QrCodeConfig config, String imgPath) throws IOException, com.google.zxing.WriterException
IOExceptioncom.google.zxing.WriterExceptionString decode(BufferedImage image) throws com.google.zxing.FormatException, com.google.zxing.ChecksumException, com.google.zxing.NotFoundException
com.google.zxing.FormatExceptioncom.google.zxing.ChecksumExceptioncom.google.zxing.NotFoundExceptionString decodeFromPath(String imgPath) throws IOException, com.google.zxing.FormatException, com.google.zxing.ChecksumException, com.google.zxing.NotFoundException
IOExceptioncom.google.zxing.FormatExceptioncom.google.zxing.ChecksumExceptioncom.google.zxing.NotFoundExceptionString decodeFromBase64(String base64Img) throws IOException, com.google.zxing.FormatException, com.google.zxing.ChecksumException, com.google.zxing.NotFoundException
IOExceptioncom.google.zxing.FormatExceptioncom.google.zxing.ChecksumExceptioncom.google.zxing.NotFoundExceptionCopyright © 2017. All rights reserved.