Class QRCodeText
java.lang.Object
net.codecrete.qrbill.generator.QRCodeText
Internal class for encoding and decoding the text embedded in the QR code.
-
Method Summary
-
Method Details
-
create
-
decode
Decodes the specified text and returns the bill data.The Text is assumed to be in the data structured for the QR code defined by SIX.
The returned data is only minimally validated. The format and the header are checked. Amount and date must be parsable.
- Parameters:
text- the text to decode- Returns:
- the bill data
- Throws:
QRBillValidationError- if a validation error occurs
-