Index

A B C D E F G H I K L M N O P Q R S T U V W 
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form

A

A4_PORTRAIT_HEIGHT - Static variable in class net.codecrete.qrbill.generator.QRBill
The height of an A4 sheet in portrait orientation, in mm
A4_PORTRAIT_SHEET - Enum constant in enum class net.codecrete.qrbill.generator.OutputSize
A4 sheet in portrait orientation.
A4_PORTRAIT_WIDTH - Static variable in class net.codecrete.qrbill.generator.QRBill
The width of an A4 sheet in portrait orientation, in mm
AbstractCanvas - Class in net.codecrete.qrbill.canvas
Abstract base class for simplified implementation of Canvas classes.
AbstractCanvas() - Constructor for class net.codecrete.qrbill.canvas.AbstractCanvas
Creates a new instance.
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.Graphics2DCanvas
 
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.SVGCanvas
 
Address - Class in net.codecrete.qrbill.generator
Address of creditor or debtor.
Address() - Constructor for class net.codecrete.qrbill.generator.Address
Creates an empty address.
Address.Type - Enum Class 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
Creates a new instance with default values for the format.
Bill.Version - Enum Class 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
BillTextFormatter - Class in net.codecrete.qrbill.generator
Formats text on a QR bill.
BillTextFormatter(Bill) - Constructor for class net.codecrete.qrbill.generator.BillTextFormatter
Creates a new instance for the specified bill.
BillTextFormatter(Bill, boolean) - Constructor for class net.codecrete.qrbill.generator.BillTextFormatter
Creates a new instance for the given bill.
ByteArrayResult - Interface in net.codecrete.qrbill.canvas
Interface for returning a result as a byte array.

C

Canvas - Interface in net.codecrete.qrbill.canvas
Common interface for all output formats to draw the QR bill.
Canvas.LineStyle - Enum Class in net.codecrete.qrbill.canvas
Line style
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.Graphics2DCanvas
 
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.Graphics2DCanvas
 
closeSubpath() - Method in class net.codecrete.qrbill.canvas.PDFCanvas
 
closeSubpath() - Method in class net.codecrete.qrbill.canvas.SVGCanvas
 
COMBINED_ELEMENTS - Enum constant in enum class net.codecrete.qrbill.generator.Address.Type
Combined address elements
CONFLICTING - Enum constant in enum class net.codecrete.qrbill.generator.Address.Type
Conflicting
contains(char) - Method in enum class net.codecrete.qrbill.generator.SPSCharacterSet
Returns if this characters set contains the specified character.
contains(int) - Method in enum class net.codecrete.qrbill.generator.SPSCharacterSet
Returns if this characters set contains the specified Unicode code point.
CR_LF - Enum constant in enum class net.codecrete.qrbill.generator.QrDataSeparator
Separate lines with the carriage return (␍) character and line feed (␊) characters, i.e.
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.
createAndSetQRReference(String) - Method in class net.codecrete.qrbill.generator.Bill
Creates and sets a QR reference from a raw string by appending the checksum digit and prepending zeros to make it the correct length.
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.
createQRReference(String) - Static method in class net.codecrete.qrbill.generator.Payments
Creates a QR reference from a raw string by appending the checksum digit and prepending zeros to make it the correct length.
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 specified position.
cubicCurveTo(double, double, double, double, double, double) - Method in class net.codecrete.qrbill.canvas.Graphics2DCanvas
 
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.SVGCanvas
 

D

Dashed - Enum constant in enum class net.codecrete.qrbill.canvas.Canvas.LineStyle
Dashed line (dashes are about 4 times the line width long and apart)
DASHED_LINE - Enum constant in enum class net.codecrete.qrbill.generator.SeparatorType
Dashed lines are drawn
DASHED_LINE_WITH_SCISSORS - Enum constant in enum class net.codecrete.qrbill.generator.SeparatorType
Dashed lines with a scissor symbol are drawn
DE - Enum constant in enum class 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 Bill data structure.
decodeText(String) - Static method in class net.codecrete.qrbill.generator.SwicoBillInformation
Decodes the text of structured billing information and creates a SwicoBillInformation instance.
DEFAULT_MARGIN_WIDTH - Static variable in class net.codecrete.qrbill.generator.BillFormat
Default width for left and right margin, in mm.
Dotted - Enum constant in enum class net.codecrete.qrbill.canvas.Canvas.LineStyle
Dotted line (dots are spaced 3 times the line width apart)
DOTTED_LINE - Enum constant in enum class net.codecrete.qrbill.generator.SeparatorType
Dotted lines are drawn
DOTTED_LINE_WITH_SCISSORS - Enum constant in enum class net.codecrete.qrbill.generator.SeparatorType
Dotted lines with a scissor symbol are drawn
draw(Bill, Canvas) - Static method in class net.codecrete.qrbill.generator.QRBill
Draws the QR bill (payment part and receipt) or QR code for the specified bill data onto the specified canvas.
drawSeparators(SeparatorType, boolean, Canvas) - Static method in class net.codecrete.qrbill.generator.QRBill
Draws the separator line(s) to the specified canvas.

E

EMBEDDED_CUSTOM - Enum constant in enum class net.codecrete.qrbill.canvas.PDFFontSettings.FontEmbedding
Custom font provided by caller, with embedding.
EMBEDDED_LIBERATION_SANS - Enum constant in enum class net.codecrete.qrbill.canvas.PDFFontSettings.FontEmbedding
Liberation Sans font included in this library, with embedding.
embeddedCustomFont(String, Path, Path) - Static method in class net.codecrete.qrbill.canvas.PDFFontSettings
Creates a font settings instance for a custom font.
embeddedLiberationSans() - Static method in class net.codecrete.qrbill.canvas.PDFFontSettings
Creates a font settings instance for the Liberation Sans font.
EN - Enum constant in enum class net.codecrete.qrbill.generator.Language
English
encodeAsText() - Method in class net.codecrete.qrbill.generator.SwicoBillInformation
Encodes this bill information as a single text string suitable to be added to a Swiss QR bill.
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
equals(Object) - Method in class net.codecrete.qrbill.generator.SwicoBillInformation
equals(Object) - Method in class net.codecrete.qrbill.generator.SwicoBillInformation.PaymentCondition
equals(Object) - Method in class net.codecrete.qrbill.generator.SwicoBillInformation.RateDetail
ERROR - Enum constant in enum class net.codecrete.qrbill.generator.ValidationMessage.Type
Error.
EXTENDED_LATIN - Enum constant in enum class net.codecrete.qrbill.generator.SPSCharacterSet
Extended Latin character set.

F

FIELD_ACCOUNT - Static variable in class net.codecrete.qrbill.generator.ValidationConstants
Field name of the account number
FIELD_ALTERNATIVE_SCHEMES - Static variable in class net.codecrete.qrbill.generator.ValidationConstants
Field name of the alternative schemes
FIELD_AMOUNT - Static variable in class net.codecrete.qrbill.generator.ValidationConstants
Field name of the amount
FIELD_BILL_INFORMATION - Static variable in class net.codecrete.qrbill.generator.ValidationConstants
Field name of the bill information
FIELD_CODING_TYPE - Static variable in class net.codecrete.qrbill.generator.ValidationConstants
Field name of the QR bill's coding type
FIELD_CREDITOR_COUNTRY_CODE - Static variable in class net.codecrete.qrbill.generator.ValidationConstants
Field name of the creditor's country code
FIELD_CREDITOR_HOUSE_NO - Static variable in class net.codecrete.qrbill.generator.ValidationConstants
Field name of the creditor's house number
FIELD_CREDITOR_NAME - Static variable in class net.codecrete.qrbill.generator.ValidationConstants
Field name of the creditor's name
FIELD_CREDITOR_POSTAL_CODE - Static variable in class net.codecrete.qrbill.generator.ValidationConstants
Field name of the creditor's postal codde
FIELD_CREDITOR_STREET - Static variable in class net.codecrete.qrbill.generator.ValidationConstants
Field name of the creditor's street
FIELD_CREDITOR_TOWN - Static variable in class net.codecrete.qrbill.generator.ValidationConstants
Field name of the creditor's town
FIELD_CURRENCY - Static variable in class net.codecrete.qrbill.generator.ValidationConstants
Field name of the currency
FIELD_DEBTOR_COUNTRY_CODE - Static variable in class net.codecrete.qrbill.generator.ValidationConstants
Field name of the debtor's country code
FIELD_DEBTOR_HOUSE_NO - Static variable in class net.codecrete.qrbill.generator.ValidationConstants
Field name of the debtor's house number
FIELD_DEBTOR_NAME - Static variable in class net.codecrete.qrbill.generator.ValidationConstants
Field name of the debtor's name
FIELD_DEBTOR_POSTAL_CODE - Static variable in class net.codecrete.qrbill.generator.ValidationConstants
Field name of the debtor's postal code
FIELD_DEBTOR_STREET - Static variable in class net.codecrete.qrbill.generator.ValidationConstants
Field name of the debtor's street
FIELD_DEBTOR_TOWN - Static variable in class net.codecrete.qrbill.generator.ValidationConstants
Field name of the debtor's town
FIELD_QR_TYPE - Static variable in class net.codecrete.qrbill.generator.ValidationConstants
Field name of the QR code type
FIELD_REFERENCE - Static variable in class net.codecrete.qrbill.generator.ValidationConstants
Field name of the reference
FIELD_REFERENCE_TYPE - Static variable in class net.codecrete.qrbill.generator.ValidationConstants
Field name of the reference type
FIELD_TRAILER - Static variable in class net.codecrete.qrbill.generator.ValidationConstants
Field name of the QR bill's trailer ("EPD")
FIELD_UNSTRUCTURED_MESSAGE - Static variable in class net.codecrete.qrbill.generator.ValidationConstants
Field name of the unstructured message
FIELD_VERSION - Static variable in class net.codecrete.qrbill.generator.ValidationConstants
Field name of the QR bill version
FIELDROOT_CREDITOR - Static variable in class net.codecrete.qrbill.generator.ValidationConstants
Start of field name of the creditor address
FIELDROOT_DEBTOR - Static variable in class net.codecrete.qrbill.generator.ValidationConstants
Start of field name of the debtor's address
fillPath(int, boolean) - Method in interface net.codecrete.qrbill.canvas.Canvas
Fills the current path and ends it
fillPath(int, boolean) - Method in class net.codecrete.qrbill.canvas.Graphics2DCanvas
 
fillPath(int, boolean) - Method in class net.codecrete.qrbill.canvas.PDFCanvas
 
fillPath(int, boolean) - Method in class net.codecrete.qrbill.canvas.SVGCanvas
 
fontMetrics - Variable in class net.codecrete.qrbill.canvas.AbstractCanvas
Font metrics information.
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
Creates a new instance for the first supported font in the specified list.
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 - Enum constant in enum class net.codecrete.qrbill.generator.Language
French
FULL_UNICODE - Enum constant in enum class net.codecrete.qrbill.generator.SPSCharacterSet
Full Unicode character set.

G

generate(Bill) - Static method in class net.codecrete.qrbill.generator.QRBill
Generates a QR bill (payment part and receipt) or QR code as an SVG image or PDF document.
getAccount() - Method in class net.codecrete.qrbill.generator.Bill
Gets the creditor's account number.
getAccount() - Method in class net.codecrete.qrbill.generator.BillTextFormatter
Gets the formatted account number.
getAdditionalInformation() - Method in class net.codecrete.qrbill.generator.BillTextFormatter
Returns the additional information.
getAddressLine1() - Method in class net.codecrete.qrbill.generator.Address
Deprecated.
Use a structured address instead. Will be removed in release 4.
getAddressLine2() - Method in class net.codecrete.qrbill.generator.Address
Deprecated.
Use a structured address instead. Will be removed in release 4.
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
getAmount() - Method in class net.codecrete.qrbill.generator.BillTextFormatter
Gets the formatted amount.
getAmount() - Method in class net.codecrete.qrbill.generator.SwicoBillInformation.RateDetail
Gets the amount.
getAmountAsDouble() - Method in class net.codecrete.qrbill.generator.Bill
Gets the payment amount as a Double instance
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 the highest letter.
getAscender(int) - Method in class net.codecrete.qrbill.canvas.FontMetrics
Distance between baseline and top of the highest letter.
getBillInformation() - Method in class net.codecrete.qrbill.generator.Bill
Gets the additional bill information.
getBoldFontPath() - Method in class net.codecrete.qrbill.canvas.PDFFontSettings
Gets the path to the bold font face in TrueType format.
getCharacterSet() - Method in class net.codecrete.qrbill.generator.Bill
Gets the character set used for the QR bill data.
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.
getCreditorAddress() - Method in class net.codecrete.qrbill.generator.BillTextFormatter
Gets the formatted creditor address.
getCreditorAddressReduced() - Method in class net.codecrete.qrbill.generator.BillTextFormatter
Gets the reduced formatted creditor address.
getCurrency() - Method in class net.codecrete.qrbill.generator.Bill
Gets the payment currency.
getCustomerReference() - Method in class net.codecrete.qrbill.generator.SwicoBillInformation
Gets the customer reference.
getDays() - Method in class net.codecrete.qrbill.generator.SwicoBillInformation.PaymentCondition
Gts the number of days the discount is valid.
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 farthest below the baseline.
getDescender(int) - Method in class net.codecrete.qrbill.canvas.FontMetrics
Distance between baseline and bottom of letter extending the farthest below the baseline.
getDescription() - Method in class net.codecrete.qrbill.generator.ValidationResult
Gets a human-readable description of the validation problems.
getDiscount() - Method in class net.codecrete.qrbill.generator.SwicoBillInformation.PaymentCondition
Gets the discount.
getDueDate() - Method in class net.codecrete.qrbill.generator.SwicoBillInformation
Gets the payment due date.
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).
getFontEmbedding() - Method in class net.codecrete.qrbill.canvas.PDFFontSettings
Gets the font embedding.
getFontFamily() - Method in class net.codecrete.qrbill.canvas.PDFFontSettings
Gets the font family name relevant for calculating line breaks.
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.
getInvoiceDate() - Method in class net.codecrete.qrbill.generator.SwicoBillInformation
Gets the invoice date.
getInvoiceNumber() - Method in class net.codecrete.qrbill.generator.SwicoBillInformation
Gets the invoice number.
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.
getLocalCountryCode() - Method in class net.codecrete.qrbill.generator.BillFormat
Gets the local country code.
getMarginLeft() - Method in class net.codecrete.qrbill.generator.BillFormat
Gets the left margin width (from edge of paper to start of text).
getMarginRight() - Method in class net.codecrete.qrbill.generator.BillFormat
Gets the right margin width (from the end of the text to the edge of the paper).
getMessage() - Method in exception class net.codecrete.qrbill.generator.QRBillValidationError
 
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
getPayableBy() - Method in class net.codecrete.qrbill.generator.BillTextFormatter
Gets the "payable by" text (debtor address).
getPayableByReduced() - Method in class net.codecrete.qrbill.generator.BillTextFormatter
Gets the "payable by" text with a reduced debtor address.
getPayableTo() - Method in class net.codecrete.qrbill.generator.BillTextFormatter
Gets the "payable to" text (account number and creditor address).
getPayableToReduced() - Method in class net.codecrete.qrbill.generator.BillTextFormatter
Gets the "payable to" text (account number and creditor address) with a reduced address.
getPaymentConditions() - Method in class net.codecrete.qrbill.generator.SwicoBillInformation
Gets the payment conditions.
getPostalCode() - Method in class net.codecrete.qrbill.generator.Address
Gets the postal code
getRate() - Method in class net.codecrete.qrbill.generator.SwicoBillInformation.RateDetail
Gets the VAT rate.
getReference() - Method in class net.codecrete.qrbill.generator.Bill
Gets the payment reference
getReference() - Method in class net.codecrete.qrbill.generator.BillTextFormatter
Gets the formatted reference number.
getReferenceType() - Method in class net.codecrete.qrbill.generator.Bill
Gets the type of payment reference.
getRegularFontPath() - Method in class net.codecrete.qrbill.canvas.PDFFontSettings
Gets the path to the regular font face in TrueType format.
getResolution() - Method in class net.codecrete.qrbill.generator.BillFormat
Gets the resolution for pixel graphics formats.
getSeparator() - Method in class net.codecrete.qrbill.generator.Bill
Gets the line separator for the QR code data fields.
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 class net.codecrete.qrbill.generator.QRBillValidationError
Gets the validation result with the error messages.
getVatDate() - Method in class net.codecrete.qrbill.generator.SwicoBillInformation
Gets the date when the goods or service were supplied.
getVatEndDate() - Method in class net.codecrete.qrbill.generator.SwicoBillInformation
Gets the end date of the period when the service was supplied (e.g.
getVatImportTaxes() - Method in class net.codecrete.qrbill.generator.SwicoBillInformation
Gets the list of VAT import taxes.
getVatNumber() - Method in class net.codecrete.qrbill.generator.SwicoBillInformation
Gets the invoicing party's VAT number.
getVatRate() - Method in class net.codecrete.qrbill.generator.SwicoBillInformation
Gets the VAT rate in case the same rate applies to the entire invoice.
getVatRateDetails() - Method in class net.codecrete.qrbill.generator.SwicoBillInformation
Gets a list of VAT rates.
getVatStartDate() - Method in class net.codecrete.qrbill.generator.SwicoBillInformation
Gets the start date of the period when the service was supplied (e.g.
getVersion() - Method in class net.codecrete.qrbill.generator.Bill
Gets the version of the QR bill standard.
Graphics2DCanvas - Class in net.codecrete.qrbill.canvas
Canvas for drawing to a Graphics2D instance.
Graphics2DCanvas(Graphics2D, float, float, float, String) - Constructor for class net.codecrete.qrbill.canvas.Graphics2DCanvas
Creates a new instance for the given graphics context.
Graphics2DCanvas(String) - Constructor for class net.codecrete.qrbill.canvas.Graphics2DCanvas
Creates a new instance.
GraphicsFormat - Enum Class 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
hashCode() - Method in class net.codecrete.qrbill.generator.SwicoBillInformation
hashCode() - Method in class net.codecrete.qrbill.generator.SwicoBillInformation.PaymentCondition
hashCode() - Method in class net.codecrete.qrbill.generator.SwicoBillInformation.RateDetail
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

initGraphics(Graphics2D, boolean, float) - Method in class net.codecrete.qrbill.canvas.Graphics2DCanvas
Initializes the canvas with the given graphics context.
isNullOrEmpty(String) - Static method in class net.codecrete.qrbill.generator.Strings
Tests if a string is null or empty
isQRIBAN(String) - Static method in class net.codecrete.qrbill.generator.Payments
Indicates if the string is a valid QR-IBAN.
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.
isValidText(String, SPSCharacterSet) - Static method in class net.codecrete.qrbill.generator.Payments
Indicates if the text consists only of characters allowed in the specified character set.
IT - Enum constant in enum class 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_IBAN_INVALID - Static variable in class net.codecrete.qrbill.generator.ValidationConstants
Validation message key: IBAN is not valid (incorrect format or check digit)
KEY_ACCOUNT_IBAN_NOT_FROM_CH_OR_LI - Static variable in class net.codecrete.qrbill.generator.ValidationConstants
Validation message key: account number should start with "CH" or "LI"
KEY_ACCOUNT_PAYABLE_TO - Static variable in class net.codecrete.qrbill.generator.MultilingualText
Text key for "Account / payable to"
KEY_ADDITIONAL_INFO_TOO_LONG - Static variable in class net.codecrete.qrbill.generator.ValidationConstants
Validation message key: Unstructured message and bill information combined exceed the maximum length
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.ValidationConstants
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.ValidationConstants
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_OUTSIDE_VALID_RANGE - Static variable in class net.codecrete.qrbill.generator.ValidationConstants
Validation message key: amount must be between 0.01 and 999999999.99
KEY_BILL_INFO_INVALID - Static variable in class net.codecrete.qrbill.generator.ValidationConstants
Validation message key: The bill information is invalid (does not start with // or is too short)
KEY_CODING_TYPE_UNSUPPORTED - Static variable in class net.codecrete.qrbill.generator.ValidationConstants
Validation message key: Coding type 1 is supported only
KEY_COUNTRY_CODE_INVALID - Static variable in class net.codecrete.qrbill.generator.ValidationConstants
Validation message key: Country code must consist of two letters
KEY_CRED_REF_INVALID_USE_FOR_QR_IBAN - Static variable in class net.codecrete.qrbill.generator.ValidationConstants
Validation message key: For payments to a QR-IBAN account, a QR reference is required.
KEY_CURRENCY - Static variable in class net.codecrete.qrbill.generator.MultilingualText
Text key for "Currency"
KEY_CURRENCY_NOT_CHF_OR_EUR - Static variable in class net.codecrete.qrbill.generator.ValidationConstants
Validation message key: currency must be "CHF" or "EUR"
KEY_DATA_STRUCTURE_INVALID - Static variable in class net.codecrete.qrbill.generator.ValidationConstants
Validation message key: Invalid data structure; it must start with "SPC" and consists of 32 to 34 lines of text (with exceptions)
KEY_DO_NOT_USE_FOR_PAYMENT - Static variable in class net.codecrete.qrbill.generator.MultilingualText
Text key for "DO NOT USE FOR PAYMENT"
KEY_FIELD_VALUE_CLIPPED - Static variable in class net.codecrete.qrbill.generator.ValidationConstants
Validation message key: Field has been clipped to not exceed the maximum length
KEY_FIELD_VALUE_MISSING - Static variable in class net.codecrete.qrbill.generator.ValidationConstants
Validation message key: Field must not be empty
KEY_FIELD_VALUE_TOO_LONG - Static variable in class net.codecrete.qrbill.generator.ValidationConstants
Validation message key: Field value exceed the maximum length
KEY_NUMBER_INVALID - Static variable in class net.codecrete.qrbill.generator.ValidationConstants
Validation message key: Valid number required (nnnnn.nn)
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_QR_REF_INVALID_USE_FOR_NON_QR_IBAN - Static variable in class net.codecrete.qrbill.generator.ValidationConstants
Validation message key: A QR reference is only allowed for payments to a QR-IBAN account.
KEY_QR_REF_MISSING - Static variable in class net.codecrete.qrbill.generator.ValidationConstants
Validation message key: QR reference is missing; it is mandatory for payments to a QR-IBAN account.
KEY_RECEIPT - Static variable in class net.codecrete.qrbill.generator.MultilingualText
Text key for "Receipt"
KEY_REF_INVALID - Static variable in class net.codecrete.qrbill.generator.ValidationConstants
Validation message key: The reference is invalid.
KEY_REF_TYPE_INVALID - Static variable in class net.codecrete.qrbill.generator.ValidationConstants
Validation message key: Reference type should be one of "QRR", "SCOR" and "NON" and match the reference.
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.ValidationConstants
Validation message key: Unsupported characters have been replaced
KEY_VERSION_UNSUPPORTED - Static variable in class net.codecrete.qrbill.generator.ValidationConstants
Validation message key: Version 02.00 is supported only

L

Language - Enum Class in net.codecrete.qrbill.generator
QR bill language
LAST_PAGE - Static variable in class net.codecrete.qrbill.canvas.PDFCanvas
Add the QR bill on the last page of the PDF document.
LATIN_1_SUBSET - Enum constant in enum class net.codecrete.qrbill.generator.SPSCharacterSet
Restrictive character set from the original Swiss Payment Standard and original QR bill specification.
LF - Enum constant in enum class net.codecrete.qrbill.generator.QrDataSeparator
Separate lines with the line feed (␊) character, i.e.
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 specified position.
lineTo(double, double) - Method in class net.codecrete.qrbill.canvas.Graphics2DCanvas
 
lineTo(double, double) - Method in class net.codecrete.qrbill.canvas.PDFCanvas
 
lineTo(double, double) - Method in class net.codecrete.qrbill.canvas.SVGCanvas
 

M

MM_TO_PT - Static variable in class net.codecrete.qrbill.canvas.AbstractCanvas
Factor for converting mm to points (1/72in)
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.Graphics2DCanvas
 
moveTo(double, double) - Method in class net.codecrete.qrbill.canvas.PDFCanvas
 
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
 
NEW_PAGE_AT_END - Static variable in class net.codecrete.qrbill.canvas.PDFCanvas
Add the QR bill on a new page at the end of the PDF document.
NONE - Enum constant in enum class net.codecrete.qrbill.generator.SeparatorType
No separators are drawn (because paper has perforation)

O

OutputSize - Enum Class in net.codecrete.qrbill.generator
The output size of the QR bill or QR code.

P

PAYMENT_PART_HEIGHT - Static variable in class net.codecrete.qrbill.generator.QRBill
The height of the payment part, in mm
PAYMENT_PART_ONLY - Enum constant in enum class net.codecrete.qrbill.generator.OutputSize
Payment part only (about 148 by 105 mm).
PAYMENT_PART_WDITH - Static variable in class net.codecrete.qrbill.generator.QRBill
The width of the payment part, in mm
PaymentCondition() - Constructor for class net.codecrete.qrbill.generator.SwicoBillInformation.PaymentCondition
Creates a new instance with null values.
PaymentCondition(BigDecimal, int) - Constructor for class net.codecrete.qrbill.generator.SwicoBillInformation.PaymentCondition
Creates a new instance with the specified values.
Payments - Class in net.codecrete.qrbill.generator
Field validations related to Swiss Payment standards
PDF - Enum constant in enum class net.codecrete.qrbill.generator.GraphicsFormat
PDF
PDFCanvas - Class in net.codecrete.qrbill.canvas
Canvas for generating PDF files.
PDFCanvas(byte[], int) - Constructor for class net.codecrete.qrbill.canvas.PDFCanvas
Creates a new instance for adding the QR bill to an existing PDF document.
PDFCanvas(byte[], int, PDFFontSettings) - Constructor for class net.codecrete.qrbill.canvas.PDFCanvas
Creates a new instance for adding the QR bill to an existing PDF document.
PDFCanvas(double, double) - Constructor for class net.codecrete.qrbill.canvas.PDFCanvas
Creates a new instance using the specified page size.
PDFCanvas(double, double, PDFFontSettings) - Constructor for class net.codecrete.qrbill.canvas.PDFCanvas
Creates a new instance using the specified page size and font.
PDFCanvas(Path, int) - Constructor for class net.codecrete.qrbill.canvas.PDFCanvas
Creates a new instance for adding the QR bill to an existing PDF document.
PDFCanvas(Path, int, PDFFontSettings) - Constructor for class net.codecrete.qrbill.canvas.PDFCanvas
Creates a new instance for adding the QR bill to an existing PDF document.
PDFCanvas(PDDocument, int) - Constructor for class net.codecrete.qrbill.canvas.PDFCanvas
Creates a new instance for adding the QR bill to the specified PDF document.
PDFCanvas(PDDocument, int, PDFFontSettings) - Constructor for class net.codecrete.qrbill.canvas.PDFCanvas
Creates a new instance for adding the QR bill to the specified PDF document.
PDFCanvas(PDPageContentStream) - Constructor for class net.codecrete.qrbill.canvas.PDFCanvas
Creates a new instance for adding a QR bill to the specified PDF page content stream.
PDFFontSettings - Class in net.codecrete.qrbill.canvas
Sets the font to use for a PDF canvas.
PDFFontSettings.FontEmbedding - Enum Class in net.codecrete.qrbill.canvas
Font embedding options.
PNG - Enum constant in enum class net.codecrete.qrbill.generator.GraphicsFormat
PNG
PNGCanvas - Class in net.codecrete.qrbill.canvas
Canvas for generating PNG files.
PNGCanvas(double, double, int, String) - Constructor for class net.codecrete.qrbill.canvas.PNGCanvas
Creates a new instance with the specified image size, resolution and font family.
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.Graphics2DCanvas
 
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.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_EXTRA_SPACE - Enum constant in enum class net.codecrete.qrbill.generator.OutputSize
QR bill only with additional space at the top for the horizontal line (about 110 by 210 mm).
QR_BILL_HEIGHT - Static variable in class net.codecrete.qrbill.generator.QRBill
The height of a QR bill (payment part and receipt), in mm
QR_BILL_ONLY - Enum constant in enum class net.codecrete.qrbill.generator.OutputSize
QR bill only (about 210 by 105 mm).
QR_BILL_WIDTH - Static variable in class net.codecrete.qrbill.generator.QRBill
The width of a QR bill (payment part and receipt), in mm
QR_BILL_WITH_HORI_LINE_HEIGHT - Static variable in class net.codecrete.qrbill.generator.QRBill
The height of the output format with extra space for horizontal separator line (payment part and receipt plus space for line and scissors), in mm
QR_BILL_WITH_HORI_LINE_WIDTH - Static variable in class net.codecrete.qrbill.generator.QRBill
The width of the output format with extra space for horizontal separator line (payment part and receipt plus space for line and scissors), in mm
QR_CODE_HEIGHT - Static variable in class net.codecrete.qrbill.generator.QRBill
The height of the QR code, in mm
QR_CODE_ONLY - Enum constant in enum class net.codecrete.qrbill.generator.OutputSize
QR code only (46 by 46 mm).
QR_CODE_WIDTH - Static variable in class net.codecrete.qrbill.generator.QRBill
The width of the QR code, in mm
QR_CODE_WITH_QUIET_ZONE - Enum constant in enum class net.codecrete.qrbill.generator.OutputSize
QR code only with 5mm of white space on all sides (56 by 56 mm).
QR_CODE_WITH_QUIET_ZONE_HEIGHT - Static variable in class net.codecrete.qrbill.generator.QRBill
The height of the QR code with quiet zone, in mm
QR_CODE_WITH_QUIET_ZONE_WIDTH - Static variable in class net.codecrete.qrbill.generator.QRBill
The width of the QR code with quiet zone, in mm
QRBill - Class in net.codecrete.qrbill.generator
Generates Swiss QR bill payment part.
QRBillGenerationException - Exception Class in net.codecrete.qrbill.generator
Exception thrown if the bill could not be generated.
QRBillGenerationException(String) - Constructor for exception class net.codecrete.qrbill.generator.QRBillGenerationException
Constructs a new runtime exception with the specified detail message.
QRBillGenerationException(String, Throwable) - Constructor for exception class net.codecrete.qrbill.generator.QRBillGenerationException
Constructs a new runtime exception with the specified detail message and cause.
QRBillGenerationException(Throwable) - Constructor for exception class net.codecrete.qrbill.generator.QRBillGenerationException
Constructs a new runtime exception with the specified cause.
QRBillValidationError - Exception Class in net.codecrete.qrbill.generator
Exception thrown if the bill data is not valid.
QRBillValidationError(ValidationResult) - Constructor for exception class 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.
QrDataSeparator - Enum Class in net.codecrete.qrbill.generator
Allowed line separators for separating the data fields in the text represented by the QR code (according to the Swiss Implementation Guidelines for the QR-bill, § 4.1.4 Separator element)

R

RateDetail() - Constructor for class net.codecrete.qrbill.generator.SwicoBillInformation.RateDetail
Creates a new instance with null values.
RateDetail(BigDecimal, BigDecimal) - Constructor for class net.codecrete.qrbill.generator.SwicoBillInformation.RateDetail
Creates a new instance with the specified values.
REFERENCE_TYPE_CRED_REF - Static variable in class net.codecrete.qrbill.generator.Bill
Reference type: creditor reference (ISO 11649)
REFERENCE_TYPE_NO_REF - Static variable in class net.codecrete.qrbill.generator.Bill
Reference type: without reference.
REFERENCE_TYPE_QR_REF - Static variable in class net.codecrete.qrbill.generator.Bill
Reference type: QR reference.
RM - Enum constant in enum class net.codecrete.qrbill.generator.Language
Romansh.

S

saveAs(Path) - Method in class net.codecrete.qrbill.canvas.PDFCanvas
Saves the resulting PDF document to the specified path.
saveAs(Path) - Method in class net.codecrete.qrbill.canvas.PNGCanvas
Saves the resulting PNG image to the specified path.
saveAs(Path) - Method in class net.codecrete.qrbill.canvas.SVGCanvas
Saves the resulting SVG image to the specified path.
SeparatorType - Enum Class in net.codecrete.qrbill.generator
Separator type above and between 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
Deprecated.
Use a structured address instead. Will be removed in release 4.
setAddressLine2(String) - Method in class net.codecrete.qrbill.generator.Address
Deprecated.
Use a structured address instead. Will be removed in release 4.
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.
setAmount(BigDecimal) - Method in class net.codecrete.qrbill.generator.SwicoBillInformation.RateDetail
Sets the amount.
setAmountFromDouble(Double) - Method in class net.codecrete.qrbill.generator.Bill
Sets the payment amount from a Double solid-line-with_scissors
setBillInformation(String) - Method in class net.codecrete.qrbill.generator.Bill
Sets the additional bill information
setCharacterSet(SPSCharacterSet) - Method in class net.codecrete.qrbill.generator.Bill
Sets the character set used for the QR bill data.
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.
setCustomerReference(String) - Method in class net.codecrete.qrbill.generator.SwicoBillInformation
Sets the customer reference.
setDays(int) - Method in class net.codecrete.qrbill.generator.SwicoBillInformation.PaymentCondition
Sets the number of days the discount is valid.
setDebtor(Address) - Method in class net.codecrete.qrbill.generator.Bill
Sets the debtor's address.
setDiscount(BigDecimal) - Method in class net.codecrete.qrbill.generator.SwicoBillInformation.PaymentCondition
Sets the discount.
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
setInvoiceDate(LocalDate) - Method in class net.codecrete.qrbill.generator.SwicoBillInformation
Sets the invoice date.
setInvoiceNumber(String) - Method in class net.codecrete.qrbill.generator.SwicoBillInformation
Sets the invoice number.
setLanguage(Language) - Method in class net.codecrete.qrbill.generator.BillFormat
Sets the bill language
setLocalCountryCode(String) - Method in class net.codecrete.qrbill.generator.BillFormat
Sets the local country code.
setMarginLeft(double) - Method in class net.codecrete.qrbill.generator.BillFormat
Sets the left margin width (from edge of paper to start of text).
setMarginRight(double) - Method in class net.codecrete.qrbill.generator.BillFormat
Gets the right margin width (from the end of the text to the edge of the paper).
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
setOffset(float, float) - Method in class net.codecrete.qrbill.canvas.Graphics2DCanvas
Sets the offset to the bottom left corner of the drawing area.
setOutputSize(OutputSize) - Method in class net.codecrete.qrbill.generator.BillFormat
Sets the output size for the generated QR bill
setPaymentConditions(List<SwicoBillInformation.PaymentCondition>) - Method in class net.codecrete.qrbill.generator.SwicoBillInformation
Sets the payment conditions.
setPostalCode(String) - Method in class net.codecrete.qrbill.generator.Address
Sets the postal code
setRate(BigDecimal) - Method in class net.codecrete.qrbill.generator.SwicoBillInformation.RateDetail
Sets the VAT rate.
setReference(String) - Method in class net.codecrete.qrbill.generator.Bill
Sets the payment reference.
setReferenceType(String) - Method in class net.codecrete.qrbill.generator.Bill
Sets the type of payment reference.
setResolution(int) - Method in class net.codecrete.qrbill.generator.BillFormat
Sets the resolution for pixel graphics formats.
setSeparator(QrDataSeparator) - Method in class net.codecrete.qrbill.generator.Bill
Sets the line separator for the QR code data fields.
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.Graphics2DCanvas
 
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.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
Initializes the font metrics information for the specified font.
setVatDate(LocalDate) - Method in class net.codecrete.qrbill.generator.SwicoBillInformation
Sets the date when the goods or service were supplied.
setVatEndDate(LocalDate) - Method in class net.codecrete.qrbill.generator.SwicoBillInformation
Sets the end date of the period when the service was supplied (e.g.
setVatImportTaxes(List<SwicoBillInformation.RateDetail>) - Method in class net.codecrete.qrbill.generator.SwicoBillInformation
Sets the list of VAT import taxes.
setVatNumber(String) - Method in class net.codecrete.qrbill.generator.SwicoBillInformation
Sets the invoicing party's VAT number.
setVatRate(BigDecimal) - Method in class net.codecrete.qrbill.generator.SwicoBillInformation
Sets the VAT rate in case the same rate applies to the entire invoice.
setVatRateDetails(List<SwicoBillInformation.RateDetail>) - Method in class net.codecrete.qrbill.generator.SwicoBillInformation
Sets a list of VAT rates.
setVatStartDate(LocalDate) - Method in class net.codecrete.qrbill.generator.SwicoBillInformation
Sets the start date of the period when the service was supplied (e.g.
setVersion(Bill.Version) - Method in class net.codecrete.qrbill.generator.Bill
Sets the version of the QR bill standard.
Solid - Enum constant in enum class net.codecrete.qrbill.canvas.Canvas.LineStyle
Solid line
SOLID_LINE - Enum constant in enum class net.codecrete.qrbill.generator.SeparatorType
Solid lines are drawn
SOLID_LINE_WITH_SCISSORS - Enum constant in enum class net.codecrete.qrbill.generator.SeparatorType
Solid lines with a scissor symbol are drawn
spacesCleaned(String) - Static method in class net.codecrete.qrbill.generator.Strings
Returns a string without leading and trailing spaces and with all consecutive space characters replaced by a single space.
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.
SPSCharacterSet - Enum Class in net.codecrete.qrbill.generator
Swiss Payment Standard character set.
STANDARD_HELVETICA - Enum constant in enum class net.codecrete.qrbill.canvas.PDFFontSettings.FontEmbedding
Standard Helvetica font, without embedding.
standardHelvetica() - Static method in class net.codecrete.qrbill.canvas.PDFFontSettings
Creates a font settings instance for the standard Helvetica font.
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.Graphics2DCanvas
 
startPath() - Method in class net.codecrete.qrbill.canvas.PDFCanvas
 
startPath() - Method in class net.codecrete.qrbill.canvas.SVGCanvas
 
Strings - Class in net.codecrete.qrbill.generator
Helper function for processing strings.
strokePath(double, int, Canvas.LineStyle, boolean) - Method in interface net.codecrete.qrbill.canvas.Canvas
Strokes the current path and ends it
strokePath(double, int, Canvas.LineStyle, boolean) - Method in class net.codecrete.qrbill.canvas.Graphics2DCanvas
 
strokePath(double, int, Canvas.LineStyle, boolean) - Method in class net.codecrete.qrbill.canvas.PDFCanvas
 
strokePath(double, int, Canvas.LineStyle, boolean) - Method in class net.codecrete.qrbill.canvas.SVGCanvas
 
STRUCTURED - Enum constant in enum class net.codecrete.qrbill.generator.Address.Type
Structured address
SUBFIELD_ADDRESS_LINE_1 - Static variable in class net.codecrete.qrbill.generator.ValidationConstants
Relative field of an address' line 1
SUBFIELD_ADDRESS_LINE_2 - Static variable in class net.codecrete.qrbill.generator.ValidationConstants
Relative field of an address' line 2
SUBFIELD_COUNTRY_CODE - Static variable in class net.codecrete.qrbill.generator.ValidationConstants
Relative field of an address' country code
SUBFIELD_HOUSE_NO - Static variable in class net.codecrete.qrbill.generator.ValidationConstants
Relative field of an address' house number
SUBFIELD_NAME - Static variable in class net.codecrete.qrbill.generator.ValidationConstants
Relative field name of an address' name
SUBFIELD_POSTAL_CODE - Static variable in class net.codecrete.qrbill.generator.ValidationConstants
Relative field of an address' postal code
SUBFIELD_STREET - Static variable in class net.codecrete.qrbill.generator.ValidationConstants
Relative field of an address' street
SUBFIELD_TOWN - Static variable in class net.codecrete.qrbill.generator.ValidationConstants
Relative field of an address' town
SVG - Enum constant in enum class net.codecrete.qrbill.generator.GraphicsFormat
SVG
SVGCanvas - Class in net.codecrete.qrbill.canvas
Canvas for generating SVG files.
SVGCanvas(double, double, String) - Constructor for class net.codecrete.qrbill.canvas.SVGCanvas
Creates a new instance of the specified size.
SwicoBillInformation - Class in net.codecrete.qrbill.generator
Bill information (according to Swico S1) for automated processing of invoices.
SwicoBillInformation() - Constructor for class net.codecrete.qrbill.generator.SwicoBillInformation
Creates a new instance with null values.
SwicoBillInformation.PaymentCondition - Class in net.codecrete.qrbill.generator
Payment condition detail: a tuple of discount and validity in days.
SwicoBillInformation.RateDetail - Class in net.codecrete.qrbill.generator
VAT rate detail: a tuple of VAT rate and amount.
SwicoS1Decoder - Class in net.codecrete.qrbill.generator
Decodes structured bill information according to Swico S1 syntax.

T

toByteArray() - Method in interface net.codecrete.qrbill.canvas.ByteArrayResult
Gets the resulting graphics as a byte array.
toByteArray() - Method in class net.codecrete.qrbill.canvas.PDFCanvas
Gets the resulting graphics as a byte array.
toByteArray() - Method in class net.codecrete.qrbill.canvas.PNGCanvas
 
toByteArray() - Method in class net.codecrete.qrbill.canvas.SVGCanvas
 
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
toString() - Method in class net.codecrete.qrbill.generator.SwicoBillInformation.PaymentCondition
 
toString() - Method in class net.codecrete.qrbill.generator.SwicoBillInformation.RateDetail
 
toString() - Method in class net.codecrete.qrbill.generator.SwicoBillInformation
 
trimmed(String) - Static method in class net.codecrete.qrbill.generator.Strings
Returns string with leading and trailing whitespace removed

U

UNDETERMINED - Enum constant in enum class net.codecrete.qrbill.generator.Address.Type
Undetermined
updateReferenceType() - Method in class net.codecrete.qrbill.generator.Bill
Updates the reference type by deriving it from the payment reference.

V

V2_0 - Enum constant in enum class 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.
ValidationConstants - Class in net.codecrete.qrbill.generator
Constants for bill validation messages: message keys and field names.
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 Class in net.codecrete.qrbill.generator
Type of validation message
ValidationResult - Class in net.codecrete.qrbill.generator
Container for validation results
ValidationResult() - Constructor for class net.codecrete.qrbill.generator.ValidationResult
Creates a new validation result instance
valueOf(String) - Static method in enum class net.codecrete.qrbill.canvas.Canvas.LineStyle
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class net.codecrete.qrbill.canvas.PDFFontSettings.FontEmbedding
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class net.codecrete.qrbill.generator.Address.Type
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class net.codecrete.qrbill.generator.Bill.Version
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class net.codecrete.qrbill.generator.GraphicsFormat
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class net.codecrete.qrbill.generator.Language
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class net.codecrete.qrbill.generator.OutputSize
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class net.codecrete.qrbill.generator.QrDataSeparator
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class net.codecrete.qrbill.generator.SeparatorType
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class net.codecrete.qrbill.generator.SPSCharacterSet
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class net.codecrete.qrbill.generator.ValidationMessage.Type
Returns the enum constant of this class with the specified name.
values() - Static method in enum class net.codecrete.qrbill.canvas.Canvas.LineStyle
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class net.codecrete.qrbill.canvas.PDFFontSettings.FontEmbedding
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class net.codecrete.qrbill.generator.Address.Type
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class net.codecrete.qrbill.generator.Bill.Version
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class net.codecrete.qrbill.generator.GraphicsFormat
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class net.codecrete.qrbill.generator.Language
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class net.codecrete.qrbill.generator.OutputSize
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class net.codecrete.qrbill.generator.QrDataSeparator
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class net.codecrete.qrbill.generator.SeparatorType
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class net.codecrete.qrbill.generator.SPSCharacterSet
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class net.codecrete.qrbill.generator.ValidationMessage.Type
Returns an array containing the constants of this enum class, in the order they are declared.

W

WARNING - Enum constant in enum class net.codecrete.qrbill.generator.ValidationMessage.Type
Warning.
whiteSpaceRemoved(String) - Static method in class net.codecrete.qrbill.generator.Strings
Returns string without white space
writeTo(OutputStream) - Method in class net.codecrete.qrbill.canvas.PDFCanvas
Writes the resulting PDF document to the specified output stream.
writeTo(OutputStream) - Method in class net.codecrete.qrbill.canvas.PNGCanvas
Writes the resulting PNG image to the specified output stream.
writeTo(OutputStream) - Method in class net.codecrete.qrbill.canvas.SVGCanvas
Writes the resulting SVG image to the specified output stream.
A B C D E F G H I K L M N O P Q R S T U V W 
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form