public class SimpleFormatter extends java.lang.Object implements InvoiceFormatter
| Constructor and Description | 
|---|
SimpleFormatter()  | 
| Modifier and Type | Method and Description | 
|---|---|
java.lang.String | 
formatFooter()
Formats the footer of the invoice. 
 | 
java.lang.String | 
formatHeader()
Formats the header of the invoice. 
 | 
java.lang.String | 
formatLineItem(LineItem item)
Formats a line item of the invoice. 
 | 
public SimpleFormatter()
public java.lang.String formatHeader()
InvoiceFormatterformatHeader in interface InvoiceFormatterpublic java.lang.String formatLineItem(LineItem item)
InvoiceFormatterformatLineItem in interface InvoiceFormatterpublic java.lang.String formatFooter()
InvoiceFormatterformatFooter in interface InvoiceFormatter