Class QRCodeService
- java.lang.Object
-
- cz.zcu.students.cacha.bp_server.services.QRCodeService
-
@Service public class QRCodeService extends Object
Class represent service which is responsible for QR code generation
-
-
Constructor Summary
Constructors Constructor Description QRCodeService()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BufferedImage
generateQRCodeImage(String text)
Generates QR code with given text
-
-
-
Method Detail
-
generateQRCodeImage
public BufferedImage generateQRCodeImage(String text) throws Exception
Generates QR code with given text- Parameters:
text
- text to encode- Returns:
- image of QR code
- Throws:
Exception
- exception
-
-