Printer
- ...public abstract class AbstractCsvWriter<Printer extends org.openestate.io.core.CsvPrinter> extends AbstractConverter
Constructor and Description |
---|
AbstractCsvWriter() |
Modifier and Type | Method and Description |
---|---|
protected abstract Printer |
createPrinter(OutputStream csvOutput) |
protected abstract Printer |
createPrinter(Writer csvWriter) |
void |
write(AgencyImpl agency,
File csvFile) |
void |
write(AgencyImpl agency,
OutputStream csvOutput) |
abstract void |
write(AgencyImpl agency,
Printer printer) |
void |
write(AgencyImpl agency,
Writer csvWriter) |
void |
write(TransferImpl transfer,
File csvFile) |
void |
write(TransferImpl transfer,
OutputStream csvOutput) |
abstract void |
write(TransferImpl transfer,
Printer printer) |
void |
write(TransferImpl transfer,
Writer csvWriter) |
String |
writeToString(AgencyImpl agency) |
String |
writeToString(TransferImpl transfer) |
createEmptyAgency, createEmptyAgent, createEmptyAttachment, createEmptyContact, createEmptyEstate, createEmptyLink, createEmptyTransfer, createEmptyTransferAgency, getErrorMap, getErrorMessages, getErrors, getOpenEstateLanguage, putError, putErrors, setOpenEstateLanguage
protected abstract Printer createPrinter(OutputStream csvOutput) throws IOException
IOException
protected abstract Printer createPrinter(Writer csvWriter) throws IOException
IOException
public final void write(AgencyImpl agency, File csvFile) throws IOException
IOException
public final void write(AgencyImpl agency, OutputStream csvOutput) throws IOException
IOException
public final void write(AgencyImpl agency, Writer csvWriter) throws IOException
IOException
public abstract void write(AgencyImpl agency, Printer printer) throws IOException
IOException
public final String writeToString(AgencyImpl agency) throws IOException
IOException
public final void write(TransferImpl transfer, File csvFile) throws IOException
IOException
public final void write(TransferImpl transfer, OutputStream csvOutput) throws IOException
IOException
public final void write(TransferImpl transfer, Writer csvWriter) throws IOException
IOException
public abstract void write(TransferImpl transfer, Printer printer) throws IOException
IOException
public final String writeToString(TransferImpl transfer) throws IOException
IOException
Copyright © 2019 OpenEstate. All rights reserved.