public class DocumentFactory extends Object
Constructor and Description |
---|
DocumentFactory() |
Modifier and Type | Method and Description |
---|---|
static ReportDocument |
getInstance(AbstractDocument.Format format) |
static InvoiceDocument |
getInstance(Invoice invoice,
AbstractDocument.Format format) |
public static InvoiceDocument getInstance(Invoice invoice, AbstractDocument.Format format) throws IOException, SQLException
IOException
SQLException
public static ReportDocument getInstance(AbstractDocument.Format format) throws IOException, SQLException
IOException
SQLException
Copyright © 2011–2019 Plain Source. All rights reserved.