A B C D E F G H I K L M N O P Q S T U V W
All Classes All Packages
All Classes All Packages
All Classes All Packages
A
- A4_PORTRAIT_SHEET - net.codecrete.qrbill.generator.OutputSize
-
A4 sheet in portrait orientation.
- AbstractCanvas - Class in net.codecrete.qrbill.canvas
-
Abstract base class for simplified implementation of
Canvasclasses. - AbstractCanvas() - Constructor for class net.codecrete.qrbill.canvas.AbstractCanvas
- addMessage(ValidationMessage.Type, String, String) - Method in class net.codecrete.qrbill.generator.ValidationResult
-
Adds a validation message to this validation result
- addMessage(ValidationMessage.Type, String, String, String[]) - Method in class net.codecrete.qrbill.generator.ValidationResult
-
Adds a validation message to this validation result
- addRectangle(double, double, double, double) - Method in interface net.codecrete.qrbill.canvas.Canvas
-
Adds a rectangle to the path
- addRectangle(double, double, double, double) - Method in class net.codecrete.qrbill.canvas.PDFCanvas
- addRectangle(double, double, double, double) - Method in class net.codecrete.qrbill.canvas.PNGCanvas
- addRectangle(double, double, double, double) - Method in class net.codecrete.qrbill.canvas.SVGCanvas
- Address - Class in net.codecrete.qrbill.generator
-
Address of creditor or debtor.
- Address() - Constructor for class net.codecrete.qrbill.generator.Address
- Address.Type - Enum in net.codecrete.qrbill.generator
-
Address type
- AlternativeScheme - Class in net.codecrete.qrbill.generator
-
Alternative payment scheme instructions
- AlternativeScheme() - Constructor for class net.codecrete.qrbill.generator.AlternativeScheme
-
Creates a new instance
- AlternativeScheme(String, String) - Constructor for class net.codecrete.qrbill.generator.AlternativeScheme
-
Creates an instance and sets name and instruction.
B
- Bill - Class in net.codecrete.qrbill.generator
-
QR bill data
- Bill() - Constructor for class net.codecrete.qrbill.generator.Bill
- Bill.Version - Enum in net.codecrete.qrbill.generator
-
QR bill version
- BillFormat - Class in net.codecrete.qrbill.generator
-
Formatting properties for QR bill
- BillFormat() - Constructor for class net.codecrete.qrbill.generator.BillFormat
-
Creates a new instance with default values
- BillFormat(BillFormat) - Constructor for class net.codecrete.qrbill.generator.BillFormat
-
Copy constructor: creates a copy of the specified format
C
- Canvas - Interface in net.codecrete.qrbill.canvas
-
Common graphics interface for drawing
- clear() - Method in class net.codecrete.qrbill.generator.Address
-
Clears all fields and set the type to
Address.Type.UNDETERMINED. - close() - Method in class net.codecrete.qrbill.canvas.PDFCanvas
- close() - Method in class net.codecrete.qrbill.canvas.PNGCanvas
- close() - Method in class net.codecrete.qrbill.canvas.SVGCanvas
- closeSubpath() - Method in interface net.codecrete.qrbill.canvas.Canvas
-
Closes the current subpath
- closeSubpath() - Method in class net.codecrete.qrbill.canvas.PDFCanvas
- closeSubpath() - Method in class net.codecrete.qrbill.canvas.PNGCanvas
- closeSubpath() - Method in class net.codecrete.qrbill.canvas.SVGCanvas
- COMBINED_ELEMENTS - net.codecrete.qrbill.generator.Address.Type
-
Combined address elements
- CONFLICTING - net.codecrete.qrbill.generator.Address.Type
-
Conflicting
- create(Bill) - Static method in class net.codecrete.qrbill.generator.QRCodeText
-
Gets the text embedded in the QR code (according to the data structure defined by SIX)
- createAndSetCreditorReference(String) - Method in class net.codecrete.qrbill.generator.Bill
-
Creates and sets a ISO11649 creditor reference from a raw string by prefixing the String with "RF" and the modulo 97 checksum.
- createISO11649Reference(String) - Static method in class net.codecrete.qrbill.generator.Payments
-
Creates a ISO11649 creditor reference from a raw string by prefixing the string with "RF" and the modulo 97 checksum.
- cubicCurveTo(double, double, double, double, double, double) - Method in interface net.codecrete.qrbill.canvas.Canvas
-
Adds a cubic BeziƩr curve to the open path going from the previous point to the speicifed position.
- cubicCurveTo(double, double, double, double, double, double) - Method in class net.codecrete.qrbill.canvas.PDFCanvas
- cubicCurveTo(double, double, double, double, double, double) - Method in class net.codecrete.qrbill.canvas.PNGCanvas
- cubicCurveTo(double, double, double, double, double, double) - Method in class net.codecrete.qrbill.canvas.SVGCanvas
D
- DE - net.codecrete.qrbill.generator.Language
-
German
- decode(String) - Static method in class net.codecrete.qrbill.generator.QRCodeText
-
Decodes the specified text and returns the bill data.
- decodeQrCodeText(String) - Static method in class net.codecrete.qrbill.generator.QRBill
-
Decodes the text embedded in the QR code and fills it into a
Billdata structure.
E
- EN - net.codecrete.qrbill.generator.Language
-
English
- encodeQrCodeText(Bill) - Static method in class net.codecrete.qrbill.generator.QRBill
-
Encodes the text embedded in the QR code from the specified bill data.
- equals(Object) - Method in class net.codecrete.qrbill.generator.Address
- equals(Object) - Method in class net.codecrete.qrbill.generator.AlternativeScheme
- equals(Object) - Method in class net.codecrete.qrbill.generator.Bill
- equals(Object) - Method in class net.codecrete.qrbill.generator.BillFormat
- ERROR - net.codecrete.qrbill.generator.ValidationMessage.Type
-
Error.
F
- FIELD_ACCOUNT - Static variable in class net.codecrete.qrbill.generator.Bill
-
Field name of the account number
- FIELD_ALTERNATIVE_SCHEMES - Static variable in class net.codecrete.qrbill.generator.Bill
-
Field name of the alternative schemes
- FIELD_AMOUNT - Static variable in class net.codecrete.qrbill.generator.Bill
-
Field name of the amount
- FIELD_BILL_INFORMATION - Static variable in class net.codecrete.qrbill.generator.Bill
-
Field name of the bill information
- FIELD_CODING_TYPE - Static variable in class net.codecrete.qrbill.generator.Bill
-
Field name of the QR bill's coding type
- FIELD_CREDITOR_COUNTRY_CODE - Static variable in class net.codecrete.qrbill.generator.Bill
-
Field name of the creditor's country code
- FIELD_CREDITOR_HOUSE_NO - Static variable in class net.codecrete.qrbill.generator.Bill
-
Field name of the creditor's house number
- FIELD_CREDITOR_NAME - Static variable in class net.codecrete.qrbill.generator.Bill
-
Field name of the creditor's name
- FIELD_CREDITOR_POSTAL_CODE - Static variable in class net.codecrete.qrbill.generator.Bill
-
Field name of the creditor's postal codde
- FIELD_CREDITOR_STREET - Static variable in class net.codecrete.qrbill.generator.Bill
-
Field name of the creditor's street
- FIELD_CREDITOR_TOWN - Static variable in class net.codecrete.qrbill.generator.Bill
-
Field name of the creditor's town
- FIELD_CURRENCY - Static variable in class net.codecrete.qrbill.generator.Bill
-
Field name of the currency
- FIELD_DEBTOR_COUNTRY_CODE - Static variable in class net.codecrete.qrbill.generator.Bill
-
Field name of the debtor's country code
- FIELD_DEBTOR_HOUSE_NO - Static variable in class net.codecrete.qrbill.generator.Bill
-
Field name of the debtor's house number
- FIELD_DEBTOR_NAME - Static variable in class net.codecrete.qrbill.generator.Bill
-
Field name of the debtor's name
- FIELD_DEBTOR_POSTAL_CODE - Static variable in class net.codecrete.qrbill.generator.Bill
-
Field name of the debtor's postal code
- FIELD_DEBTOR_STREET - Static variable in class net.codecrete.qrbill.generator.Bill
-
Field name of the debtor's street
- FIELD_DEBTOR_TOWN - Static variable in class net.codecrete.qrbill.generator.Bill
-
Field name of the debtor's town
- FIELD_QR_TYPE - Static variable in class net.codecrete.qrbill.generator.Bill
-
Field name of the QR code type
- FIELD_REFERENCE - Static variable in class net.codecrete.qrbill.generator.Bill
-
Field name of the reference
- FIELD_TRAILER - Static variable in class net.codecrete.qrbill.generator.Bill
-
Field name of the QR bill's trailer ("EPD")
- FIELD_UNSTRUCTURED_MESSAGE - Static variable in class net.codecrete.qrbill.generator.Bill
-
Field name of the unstructured message
- FIELD_VERSION - Static variable in class net.codecrete.qrbill.generator.Bill
-
Field name of the QR bill version
- FIELDROOT_CREDITOR - Static variable in class net.codecrete.qrbill.generator.Bill
-
Start of field name of the creditor address
- FIELDROOT_DEBTOR - Static variable in class net.codecrete.qrbill.generator.Bill
-
Start of field name of the debtor's address
- fillPath(int) - Method in interface net.codecrete.qrbill.canvas.Canvas
-
Fills the current path and ends it
- fillPath(int) - Method in class net.codecrete.qrbill.canvas.PDFCanvas
- fillPath(int) - Method in class net.codecrete.qrbill.canvas.PNGCanvas
- fillPath(int) - Method in class net.codecrete.qrbill.canvas.SVGCanvas
- FontMetrics - Class in net.codecrete.qrbill.canvas
-
Simple font metrics class, independent of graphics subsystems and installed fonts.
- FontMetrics(String) - Constructor for class net.codecrete.qrbill.canvas.FontMetrics
- formatIBAN(String) - Static method in class net.codecrete.qrbill.generator.Payments
-
Formats an IBAN or creditor reference by inserting spaces.
- formatQRReferenceNumber(String) - Static method in class net.codecrete.qrbill.generator.Payments
-
Formats a QR reference number by inserting spaces.
- FR - net.codecrete.qrbill.generator.Language
-
French
G
- generate(Bill) - Static method in class net.codecrete.qrbill.generator.QRBill
-
Generates a QR bill payment part.
- generate(Bill, Canvas) - Static method in class net.codecrete.qrbill.generator.QRBill
-
Generates a QR bill payment part using the specified canvas.
- getAccount() - Method in class net.codecrete.qrbill.generator.Bill
-
Gets the creditor's account number.
- getAddressLine1() - Method in class net.codecrete.qrbill.generator.Address
-
Gets the address line 1
- getAddressLine2() - Method in class net.codecrete.qrbill.generator.Address
-
Gets the address line 2
- getAlternativeSchemes() - Method in class net.codecrete.qrbill.generator.Bill
-
Get the alternative schemes.
- getAmount() - Method in class net.codecrete.qrbill.generator.Bill
-
Gets the payment amount
- getAmountAsDouble() - Method in class net.codecrete.qrbill.generator.Bill
-
Gets the payment amount as a
Doubleinstance - getAscender(int) - Method in class net.codecrete.qrbill.canvas.AbstractCanvas
- getAscender(int) - Method in interface net.codecrete.qrbill.canvas.Canvas
-
Distance between baseline and top of highest letter.
- getAscender(int) - Method in class net.codecrete.qrbill.canvas.FontMetrics
-
Distance between baseline and top of highest letter.
- getBillInformation() - Method in class net.codecrete.qrbill.generator.Bill
-
Gets the additional bill information.
- getCleanedBill() - Method in class net.codecrete.qrbill.generator.ValidationResult
-
Gets the cleaned bill data
- getCountryCode() - Method in class net.codecrete.qrbill.generator.Address
-
Gets the two-letter ISO country code.
- getCreditor() - Method in class net.codecrete.qrbill.generator.Bill
-
Gets the creditor address.
- getCurrency() - Method in class net.codecrete.qrbill.generator.Bill
-
Gets the payment currency.
- getDebtor() - Method in class net.codecrete.qrbill.generator.Bill
-
Gets the debtor's address.
- getDescender(int) - Method in class net.codecrete.qrbill.canvas.AbstractCanvas
- getDescender(int) - Method in interface net.codecrete.qrbill.canvas.Canvas
-
Distance between baseline and bottom of letter extending the farest below the baseline.
- getDescender(int) - Method in class net.codecrete.qrbill.canvas.FontMetrics
-
Distance between baseline and bottom of letter extending the farest below the baseline.
- getField() - Method in class net.codecrete.qrbill.generator.ValidationMessage
-
Gets the name of the affected field.
- getFirstFontFamily() - Method in class net.codecrete.qrbill.canvas.FontMetrics
-
Gets the first font family (from the font family list).
- getFontFamily() - Method in class net.codecrete.qrbill.generator.BillFormat
-
Gets the font family to be used for text
- getFontFamilyList() - Method in class net.codecrete.qrbill.canvas.FontMetrics
-
Gets the font family list.
- getFormat() - Method in class net.codecrete.qrbill.generator.Bill
-
Gets the bill format.
- getGraphicsFormat() - Method in class net.codecrete.qrbill.generator.BillFormat
-
Gets the graphics format for the generated QR bill
- getHouseNo() - Method in class net.codecrete.qrbill.generator.Address
-
Gets the house or building number.
- getInstruction() - Method in class net.codecrete.qrbill.generator.AlternativeScheme
-
Gets the payment instruction for a given bill.
- getLanguage() - Method in class net.codecrete.qrbill.generator.BillFormat
-
Gets the bill language.
- getLineHeight(int) - Method in class net.codecrete.qrbill.canvas.AbstractCanvas
- getLineHeight(int) - Method in interface net.codecrete.qrbill.canvas.Canvas
-
Distance between the baselines of two consecutive text lines.
- getLineHeight(int) - Method in class net.codecrete.qrbill.canvas.FontMetrics
-
Distance between the baselines of two consecutive text lines.
- getMessageKey() - Method in class net.codecrete.qrbill.generator.ValidationMessage
-
Gets the language neutral key of the message.
- getMessageParameters() - Method in class net.codecrete.qrbill.generator.ValidationMessage
-
Gets additional message parameters (text) that are inserted into the localized message.
- getName() - Method in class net.codecrete.qrbill.generator.Address
-
Gets the name, either the first and last name of a natural person or the company name of a legal person.
- getName() - Method in class net.codecrete.qrbill.generator.AlternativeScheme
-
Get the payment scheme name
- getOutputSize() - Method in class net.codecrete.qrbill.generator.BillFormat
-
Gets the output size for the generated QR bill
- getPostalCode() - Method in class net.codecrete.qrbill.generator.Address
-
Gets the postal code
- getReference() - Method in class net.codecrete.qrbill.generator.Bill
-
Gets the payment reference
- getResult() - Method in interface net.codecrete.qrbill.canvas.Canvas
-
Returns the generated graphics as a byte array
- getResult() - Method in class net.codecrete.qrbill.canvas.PDFCanvas
- getResult() - Method in class net.codecrete.qrbill.canvas.PNGCanvas
- getResult() - Method in class net.codecrete.qrbill.canvas.SVGCanvas
- getSeparatorType() - Method in class net.codecrete.qrbill.generator.BillFormat
-
Gets the type of separator drawn above and between the payment part and the receipt
- getStreet() - Method in class net.codecrete.qrbill.generator.Address
-
Gets the street.
- getText(String, Language) - Static method in class net.codecrete.qrbill.generator.MultilingualText
-
Gets the text for the specified text key in the specified language
- getTextWidth(CharSequence, int, boolean) - Method in class net.codecrete.qrbill.canvas.AbstractCanvas
- getTextWidth(CharSequence, int, boolean) - Method in interface net.codecrete.qrbill.canvas.Canvas
-
Returns the width of the specified text for the specified font size
- getTextWidth(CharSequence, int, boolean) - Method in class net.codecrete.qrbill.canvas.FontMetrics
-
Returns the width of the specified text for the specified font size
- getTown() - Method in class net.codecrete.qrbill.generator.Address
-
Gets the town.
- getType() - Method in class net.codecrete.qrbill.generator.Address
-
Gets the address type.
- getType() - Method in class net.codecrete.qrbill.generator.ValidationMessage
-
Gets the type of message
- getUnstructuredMessage() - Method in class net.codecrete.qrbill.generator.Bill
-
Gets the additional unstructured message.
- getValidationMessages() - Method in class net.codecrete.qrbill.generator.ValidationResult
-
Gets the list of validation messages
- getValidationResult() - Method in exception net.codecrete.qrbill.generator.QRBillValidationError
-
Gets the validation result with the error messages.
- getVersion() - Method in class net.codecrete.qrbill.generator.Bill
-
Gets the version of the QR bill standard.
- GraphicsFormat - Enum in net.codecrete.qrbill.generator
-
Graphics format of generated QR bill.
H
- hasErrors() - Method in class net.codecrete.qrbill.generator.ValidationResult
-
Gets if this validation result contains any error messages
- hashCode() - Method in class net.codecrete.qrbill.generator.Address
- hashCode() - Method in class net.codecrete.qrbill.generator.AlternativeScheme
- hashCode() - Method in class net.codecrete.qrbill.generator.Bill
- hashCode() - Method in class net.codecrete.qrbill.generator.BillFormat
- hasMessages() - Method in class net.codecrete.qrbill.generator.ValidationResult
-
Gets if this validation result contains any messages
- hasWarnings() - Method in class net.codecrete.qrbill.generator.ValidationResult
-
Gets if this validation result contains any warning messages
I
- isNullOrEmpty(String) - Static method in class net.codecrete.qrbill.generator.Strings
-
Tests if a string is null or empty
- isValid() - Method in class net.codecrete.qrbill.generator.ValidationResult
-
Gets if the bill data is valid and the validation therefore has succeeded
- isValidIBAN(String) - Static method in class net.codecrete.qrbill.generator.Payments
-
Validates if the string is a valid IBAN number
- isValidISO11649Reference(String) - Static method in class net.codecrete.qrbill.generator.Payments
-
Validates if the string is a valid ISO 11649 reference number.
- isValidQRReference(String) - Static method in class net.codecrete.qrbill.generator.Payments
-
Validates if the string is a valid QR reference.
- IT - net.codecrete.qrbill.generator.Language
-
Italian
K
- KEY_ACCEPTANCE_POINT - Static variable in class net.codecrete.qrbill.generator.MultilingualText
-
Text key for "Acceptance point"
- KEY_ACCOUNT_IS_CH_LI_IBAN - Static variable in class net.codecrete.qrbill.generator.QRBill
-
Validation message key: IBAN must be from bank in Switzerland or Liechtenstein
- KEY_ACCOUNT_IS_VALID_IBAN - Static variable in class net.codecrete.qrbill.generator.QRBill
-
Validation message key: IBAN must have valid format and check digit
- KEY_ACCOUNT_PAYABLE_TO - Static variable in class net.codecrete.qrbill.generator.MultilingualText
-
Text key for "Account / payable to"
- KEY_ADDITIONAL_INFORMATION - Static variable in class net.codecrete.qrbill.generator.MultilingualText
-
Text key for "Additional information"
- KEY_ADDRESS_TYPE_CONFLICT - Static variable in class net.codecrete.qrbill.generator.QRBill
-
Validation message key: Conflicting fields for both structured and combined elements address type have been used
- KEY_ALT_SCHEME_MAX_EXCEEDED - Static variable in class net.codecrete.qrbill.generator.QRBill
-
Validation message key: The maximum of 2 alternative schemes has been exceeded
- KEY_AMOUNT - Static variable in class net.codecrete.qrbill.generator.MultilingualText
-
Text key for "Amount"
- KEY_AMOUNT_IS_IN_VALID_RANGE - Static variable in class net.codecrete.qrbill.generator.QRBill
-
Validation message key: amount must be between 0.01 and 999999999.99
- KEY_BILL_INFO_INVALID - Static variable in class net.codecrete.qrbill.generator.QRBill
-
Validation message key: The bill information is invalid (does not start with // or is too short)
- KEY_CURRENCY - Static variable in class net.codecrete.qrbill.generator.MultilingualText
-
Text key for "Currency"
- KEY_CURRENCY_IS_CHF_OR_EUR - Static variable in class net.codecrete.qrbill.generator.QRBill
-
Validation message key: currency must be "CHF" or "EUR"
- KEY_FIELD_CLIPPED - Static variable in class net.codecrete.qrbill.generator.QRBill
-
Validation message key: Field has been clipped to not exceed the maximum length
- KEY_FIELD_IS_MANDATORY - Static variable in class net.codecrete.qrbill.generator.QRBill
-
Validation message key: Field is mandatory
- KEY_FIELD_TOO_LONG - Static variable in class net.codecrete.qrbill.generator.QRBill
-
Validation message key: Field value exceed the maximum length
- KEY_MANDATORY_FOR_QR_IBAN - Static variable in class net.codecrete.qrbill.generator.QRBill
-
Validation message key: For QR-IBANs (IBAN in QR-IID range) a QR reference is mandatory
- KEY_PAYABLE_BY - Static variable in class net.codecrete.qrbill.generator.MultilingualText
-
Text key for "Payable by"
- KEY_PAYABLE_BY_NAME_ADDRESS - Static variable in class net.codecrete.qrbill.generator.MultilingualText
-
Text key for "Payable by (name / address)"
- KEY_PAYMENT_PART - Static variable in class net.codecrete.qrbill.generator.MultilingualText
-
Text key for "Payment part"
- KEY_RECEIPT - Static variable in class net.codecrete.qrbill.generator.MultilingualText
-
Text key for "Receipt"
- KEY_REFERENCE - Static variable in class net.codecrete.qrbill.generator.MultilingualText
-
Text key for "Reference"
- KEY_REPLACED_UNSUPPORTED_CHARACTERS - Static variable in class net.codecrete.qrbill.generator.QRBill
-
Validation message key: Unsupported characters have been replaced
- KEY_SUPPORTED_CODING_TYPE - Static variable in class net.codecrete.qrbill.generator.QRBill
-
Validation message key: Coding type 1 is supported only
- KEY_SUPPORTED_VERSION - Static variable in class net.codecrete.qrbill.generator.QRBill
-
Validation message key: Version 02.00 is supported only
- KEY_VALID_COUNTRY_CODE - Static variable in class net.codecrete.qrbill.generator.QRBill
-
Validation message key: Country code must consist of two letters
- KEY_VALID_DATA_STRUCTURE - Static variable in class net.codecrete.qrbill.generator.QRBill
-
Validation message key: Valid data structure starts with "SPC" and consists of 32 to 34 lines of text
- KEY_VALID_ISO11649_CREDITOR_REF - Static variable in class net.codecrete.qrbill.generator.QRBill
-
Validation message key: Due to regular IBAN (outside QR-IID range) an ISO 11649 references is expected but it has invalid format or check digit
- KEY_VALID_NUMBER - Static variable in class net.codecrete.qrbill.generator.QRBill
-
Validation message key: Valid number required (nnnnn.nn)
- KEY_VALID_QR_REF_NO - Static variable in class net.codecrete.qrbill.generator.QRBill
-
Validation message key: Due to QR-IBAN (IBAN in QR-IID range) a QR reference number is expected but it has invalid format or check digit
L
- Language - Enum in net.codecrete.qrbill.generator
-
QR bill language
- lineTo(double, double) - Method in interface net.codecrete.qrbill.canvas.Canvas
-
Adds a line segment to the open path from the previous point to the speicifed position.
- lineTo(double, double) - Method in class net.codecrete.qrbill.canvas.PDFCanvas
- lineTo(double, double) - Method in class net.codecrete.qrbill.canvas.PNGCanvas
- lineTo(double, double) - Method in class net.codecrete.qrbill.canvas.SVGCanvas
M
- MM_TO_PT - Static variable in class net.codecrete.qrbill.canvas.AbstractCanvas
- moveTo(double, double) - Method in interface net.codecrete.qrbill.canvas.Canvas
-
Moves the current point of the open path to the specified position.
- moveTo(double, double) - Method in class net.codecrete.qrbill.canvas.PDFCanvas
- moveTo(double, double) - Method in class net.codecrete.qrbill.canvas.PNGCanvas
- moveTo(double, double) - Method in class net.codecrete.qrbill.canvas.SVGCanvas
- MultilingualText - Class in net.codecrete.qrbill.generator
-
Helper class providing multilingual texts printed on QR bills.
N
- net.codecrete.qrbill.canvas - package net.codecrete.qrbill.canvas
- net.codecrete.qrbill.generator - package net.codecrete.qrbill.generator
- NONE - net.codecrete.qrbill.generator.SeparatorType
-
No separators are drawn (because paper has perforation)
O
- OutputSize - Enum in net.codecrete.qrbill.generator
-
The output size of the QR bill
P
- Payments - Class in net.codecrete.qrbill.generator
-
Field validations related to Swiss Payment standards
- PDF - net.codecrete.qrbill.generator.GraphicsFormat
-
PDF
- PDFCanvas - Class in net.codecrete.qrbill.canvas
-
Canvas for generating PDF files.
- PDFCanvas() - Constructor for class net.codecrete.qrbill.canvas.PDFCanvas
- PNGCanvas - Class in net.codecrete.qrbill.canvas
-
Canvas for generating PNG files.
- PNGCanvas(int) - Constructor for class net.codecrete.qrbill.canvas.PNGCanvas
-
Creates a new instance
- putText(String, double, double, int, boolean) - Method in interface net.codecrete.qrbill.canvas.Canvas
-
Adds text to the graphics.
- putText(String, double, double, int, boolean) - Method in class net.codecrete.qrbill.canvas.PDFCanvas
- putText(String, double, double, int, boolean) - Method in class net.codecrete.qrbill.canvas.PNGCanvas
- putText(String, double, double, int, boolean) - Method in class net.codecrete.qrbill.canvas.SVGCanvas
- putTextLines(String[], double, double, int, double) - Method in class net.codecrete.qrbill.canvas.AbstractCanvas
- putTextLines(String[], double, double, int, double) - Method in interface net.codecrete.qrbill.canvas.Canvas
-
Adds several lines of text to the graphics.
- putTextLines(String[], double, double, int, double) - Method in class net.codecrete.qrbill.canvas.PDFCanvas
Q
- QR_BILL_ONLY - net.codecrete.qrbill.generator.OutputSize
-
QR bill only (about 105 by 210 mm).
- QR_CODE_ONLY - net.codecrete.qrbill.generator.OutputSize
-
QR code only (46 by 46 mm).
- QRBill - Class in net.codecrete.qrbill.generator
-
Generates Swiss QR bill payment part.
- QRBillUnexpectedException - Exception in net.codecrete.qrbill.generator
-
Exception thrown if the bill could not be generated.
- QRBillUnexpectedException(String) - Constructor for exception net.codecrete.qrbill.generator.QRBillUnexpectedException
-
Constructs a new runtime exception with the specified detail message.
- QRBillUnexpectedException(String, Throwable) - Constructor for exception net.codecrete.qrbill.generator.QRBillUnexpectedException
-
Constructs a new runtime exception with the specified detail message and cause.
- QRBillUnexpectedException(Throwable) - Constructor for exception net.codecrete.qrbill.generator.QRBillUnexpectedException
-
Constructs a new runtime exception with the specified cause.
- QRBillValidationError - Exception in net.codecrete.qrbill.generator
-
Exception thrown if the bill data is not valid.
- QRBillValidationError(ValidationResult) - Constructor for exception net.codecrete.qrbill.generator.QRBillValidationError
-
Constructs a new instance with the specified validation result.
- QRCodeText - Class in net.codecrete.qrbill.generator
-
Internal class for encoding and decoding the text embedded in the QR code.
S
- SeparatorType - Enum in net.codecrete.qrbill.generator
-
Separator type above and betweeen payment part and receipt
- setAccount(String) - Method in class net.codecrete.qrbill.generator.Bill
-
Sets the creditor's account number.
- setAddressLine1(String) - Method in class net.codecrete.qrbill.generator.Address
-
Sets the address line 1.
- setAddressLine2(String) - Method in class net.codecrete.qrbill.generator.Address
-
Sets the address line 2.
- setAlternativeSchemes(AlternativeScheme[]) - Method in class net.codecrete.qrbill.generator.Bill
-
Sets the alternative scheme parameters.
- setAmount(BigDecimal) - Method in class net.codecrete.qrbill.generator.Bill
-
Sets the payment amount.
- setAmountFromDouble(Double) - Method in class net.codecrete.qrbill.generator.Bill
-
Sets the payment amount from a
Doublesolid-line-with_scissors - setBillInformation(String) - Method in class net.codecrete.qrbill.generator.Bill
-
Sets the additional bill information
- setCleanedBill(Bill) - Method in class net.codecrete.qrbill.generator.ValidationResult
-
Sets the cleaned bill data
- setCountryCode(String) - Method in class net.codecrete.qrbill.generator.Address
-
Sets the two-letter ISO country code
- setCreditor(Address) - Method in class net.codecrete.qrbill.generator.Bill
-
Sets the creditor address.
- setCurrency(String) - Method in class net.codecrete.qrbill.generator.Bill
-
Sets the payment currency.
- setDebtor(Address) - Method in class net.codecrete.qrbill.generator.Bill
-
Sets the debtor's address.
- setField(String) - Method in class net.codecrete.qrbill.generator.ValidationMessage
-
Sets the name of the affected field.
- setFontFamily(String) - Method in class net.codecrete.qrbill.generator.BillFormat
-
Sets the font family to be used for text
- setFormat(BillFormat) - Method in class net.codecrete.qrbill.generator.Bill
-
Sets the bill format.
- setGraphicsFormat(GraphicsFormat) - Method in class net.codecrete.qrbill.generator.BillFormat
-
Sets the graphics format for the generated QR bill
- setHouseNo(String) - Method in class net.codecrete.qrbill.generator.Address
-
Sets the house or building number.
- setInstruction(String) - Method in class net.codecrete.qrbill.generator.AlternativeScheme
-
Gets the payment instruction for a given bill
- setLanguage(Language) - Method in class net.codecrete.qrbill.generator.BillFormat
-
Sets the bill language
- setMessageKey(String) - Method in class net.codecrete.qrbill.generator.ValidationMessage
-
Sets the language neutral key of the message.
- setMessageParameters(String[]) - Method in class net.codecrete.qrbill.generator.ValidationMessage
-
Sets additional message parameters (text) that are inserted into the localized message.
- setName(String) - Method in class net.codecrete.qrbill.generator.Address
-
Sets the name, either the first and last name of a natural person or the company name of a legal person.
- setName(String) - Method in class net.codecrete.qrbill.generator.AlternativeScheme
-
Sets the payment scheme name
- setOutputSize(OutputSize) - Method in class net.codecrete.qrbill.generator.BillFormat
-
Sets the output size for the generated QR bill
- setPostalCode(String) - Method in class net.codecrete.qrbill.generator.Address
-
Sets the postal code
- setReference(String) - Method in class net.codecrete.qrbill.generator.Bill
-
Sets the payment reference.
- setSeparatorType(SeparatorType) - Method in class net.codecrete.qrbill.generator.BillFormat
-
Sets the type of separator drawn above and between the payment part and the receipt
- setStreet(String) - Method in class net.codecrete.qrbill.generator.Address
-
Sets the street.
- setTown(String) - Method in class net.codecrete.qrbill.generator.Address
-
Sets the town
- setTransformation(double, double, double, double, double) - Method in interface net.codecrete.qrbill.canvas.Canvas
-
Sets a translation, rotation and scaling for the subsequent operations
- setTransformation(double, double, double, double, double) - Method in class net.codecrete.qrbill.canvas.PDFCanvas
- setTransformation(double, double, double, double, double) - Method in class net.codecrete.qrbill.canvas.PNGCanvas
- setTransformation(double, double, double, double, double) - Method in class net.codecrete.qrbill.canvas.SVGCanvas
- setType(ValidationMessage.Type) - Method in class net.codecrete.qrbill.generator.ValidationMessage
-
Sets the type of message
- setUnstructuredMessage(String) - Method in class net.codecrete.qrbill.generator.Bill
-
Sets the additional unstructured message.
- setupFontMetrics(String) - Method in class net.codecrete.qrbill.canvas.AbstractCanvas
- setupPage(double, double, String) - Method in interface net.codecrete.qrbill.canvas.Canvas
-
Sets up the page
- setupPage(double, double, String) - Method in class net.codecrete.qrbill.canvas.PDFCanvas
- setupPage(double, double, String) - Method in class net.codecrete.qrbill.canvas.PNGCanvas
- setupPage(double, double, String) - Method in class net.codecrete.qrbill.canvas.SVGCanvas
- setVersion(Bill.Version) - Method in class net.codecrete.qrbill.generator.Bill
-
Sets the version of the QR bill standard.
- SOLID_LINE - net.codecrete.qrbill.generator.SeparatorType
-
Solid lines are drawn
- SOLID_LINE_WITH_SCISSORS - net.codecrete.qrbill.generator.SeparatorType
-
Solid lines with a scissor symbol are drawn
- splitLines(String, double, int) - Method in class net.codecrete.qrbill.canvas.AbstractCanvas
- splitLines(String, double, int) - Method in interface net.codecrete.qrbill.canvas.Canvas
-
Splits the text into lines.
- splitLines(String, double, int) - Method in class net.codecrete.qrbill.canvas.FontMetrics
-
Splits the text into lines.
- startPath() - Method in interface net.codecrete.qrbill.canvas.Canvas
-
Starts a path that can be filled or stroked
- startPath() - Method in class net.codecrete.qrbill.canvas.PDFCanvas
- startPath() - Method in class net.codecrete.qrbill.canvas.PNGCanvas
- startPath() - Method in class net.codecrete.qrbill.canvas.SVGCanvas
- Strings - Class in net.codecrete.qrbill.generator
-
Helper function for processing strings.
- strokePath(double, int) - Method in interface net.codecrete.qrbill.canvas.Canvas
-
Strokes the current path and ends it
- strokePath(double, int) - Method in class net.codecrete.qrbill.canvas.PDFCanvas
- strokePath(double, int) - Method in class net.codecrete.qrbill.canvas.PNGCanvas
- strokePath(double, int) - Method in class net.codecrete.qrbill.canvas.SVGCanvas
- STRUCTURED - net.codecrete.qrbill.generator.Address.Type
-
Structured address
- SUBFIELD_ADDRESS_LINE_1 - Static variable in class net.codecrete.qrbill.generator.Bill
-
Relative field of an address' line 1
- SUBFIELD_ADDRESS_LINE_2 - Static variable in class net.codecrete.qrbill.generator.Bill
-
Relative field of an address' line 2
- SUBFIELD_COUNTRY_CODE - Static variable in class net.codecrete.qrbill.generator.Bill
-
Relative field of an address' country code
- SUBFIELD_HOUSE_NO - Static variable in class net.codecrete.qrbill.generator.Bill
-
Relative field of an address' house number
- SUBFIELD_NAME - Static variable in class net.codecrete.qrbill.generator.Bill
-
Relative field name of an address' name
- SUBFIELD_POSTAL_CODE - Static variable in class net.codecrete.qrbill.generator.Bill
-
Relative field of an address' postal code
- SUBFIELD_STREET - Static variable in class net.codecrete.qrbill.generator.Bill
-
Relative field of an address' street
- SUBFIELD_TOWN - Static variable in class net.codecrete.qrbill.generator.Bill
-
Relative field of an address' town
- SVG - net.codecrete.qrbill.generator.GraphicsFormat
-
SVG
- SVGCanvas - Class in net.codecrete.qrbill.canvas
-
Canvas for generating SVG files.
- SVGCanvas() - Constructor for class net.codecrete.qrbill.canvas.SVGCanvas
-
Creates a new instance
T
- toString() - Method in class net.codecrete.qrbill.generator.Address
- toString() - Method in class net.codecrete.qrbill.generator.AlternativeScheme
- toString() - Method in class net.codecrete.qrbill.generator.Bill
- toString() - Method in class net.codecrete.qrbill.generator.BillFormat
- trimmed(String) - Static method in class net.codecrete.qrbill.generator.Strings
-
Returns string with leading and trailing whitespace removed
U
- UNDETERMINED - net.codecrete.qrbill.generator.Address.Type
-
Undetermined
V
- V2_0 - net.codecrete.qrbill.generator.Bill.Version
-
Version 2.0
- validate(Bill) - Static method in class net.codecrete.qrbill.generator.QRBill
-
Validates and cleans the bill data.
- ValidationMessage - Class in net.codecrete.qrbill.generator
-
QR bill validation message.
- ValidationMessage() - Constructor for class net.codecrete.qrbill.generator.ValidationMessage
-
Constructs a new validation message.
- ValidationMessage(ValidationMessage.Type, String, String) - Constructor for class net.codecrete.qrbill.generator.ValidationMessage
-
Constructs a new validation message with the given values.
- ValidationMessage(ValidationMessage.Type, String, String, String[]) - Constructor for class net.codecrete.qrbill.generator.ValidationMessage
-
Constructs a new validation message with the given values.
- ValidationMessage.Type - Enum in net.codecrete.qrbill.generator
-
Type of validatin message
- ValidationResult - Class in net.codecrete.qrbill.generator
-
Container for validation results
- ValidationResult() - Constructor for class net.codecrete.qrbill.generator.ValidationResult
- valueOf(String) - Static method in enum net.codecrete.qrbill.generator.Address.Type
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum net.codecrete.qrbill.generator.Bill.Version
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum net.codecrete.qrbill.generator.GraphicsFormat
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum net.codecrete.qrbill.generator.Language
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum net.codecrete.qrbill.generator.OutputSize
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum net.codecrete.qrbill.generator.SeparatorType
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum net.codecrete.qrbill.generator.ValidationMessage.Type
-
Returns the enum constant of this type with the specified name.
- values() - Static method in enum net.codecrete.qrbill.generator.Address.Type
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum net.codecrete.qrbill.generator.Bill.Version
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum net.codecrete.qrbill.generator.GraphicsFormat
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum net.codecrete.qrbill.generator.Language
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum net.codecrete.qrbill.generator.OutputSize
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum net.codecrete.qrbill.generator.SeparatorType
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum net.codecrete.qrbill.generator.ValidationMessage.Type
-
Returns an array containing the constants of this enum type, in the order they are declared.
W
- WARNING - net.codecrete.qrbill.generator.ValidationMessage.Type
-
Warning.
- whiteSpaceRemoved(String) - Static method in class net.codecrete.qrbill.generator.Strings
-
Returns string without white space
All Classes All Packages