public class Is24CsvPrinter extends CsvPrinter<Is24CsvRecord>
Modifier | Constructor and Description |
---|---|
protected |
Is24CsvPrinter(org.apache.commons.csv.CSVPrinter printer)
Create with specifications of a
CSVPrinter . |
Modifier and Type | Method and Description |
---|---|
static Is24CsvPrinter |
create(File csvFile)
Creates a
Is24CsvPrinter , that writes CSV data into a File . |
static Is24CsvPrinter |
create(OutputStream output)
Creates a
Is24CsvPrinter , that writes CSV data into an
OutputStream . |
static Is24CsvPrinter |
create(StringBuffer csvString)
Creates a
Is24CsvPrinter , that writes CSV data into a
StringBuffer . |
static Is24CsvPrinter |
create(StringBuilder csvString)
Creates a
Is24CsvPrinter , that writes CSV data into a
StringBuilder . |
static Is24CsvPrinter |
create(Writer output)
Creates a
Is24CsvPrinter , that writes CSV data into a
Writer . |
protected void |
print(String value)
Prints a single CSV value.
|
close, closeQuietly, flush, printComment, println, printRecord, printRecords, replaceLineBreaks, replaceLineBreaks
protected Is24CsvPrinter(org.apache.commons.csv.CSVPrinter printer)
CSVPrinter
.printer
- the CSV printer from
commons-csvpublic static Is24CsvPrinter create(StringBuffer csvString) throws IOException
Is24CsvPrinter
, that writes CSV data into a
StringBuffer
.csvString
- where CSV is written toIOException
- if CSV is not writablepublic static Is24CsvPrinter create(StringBuilder csvString) throws IOException
Is24CsvPrinter
, that writes CSV data into a
StringBuilder
.csvString
- where CSV is written toIOException
- if CSV is not writablepublic static Is24CsvPrinter create(File csvFile) throws IOException
Is24CsvPrinter
, that writes CSV data into a File
.csvFile
- where CSV is written toIOException
- if CSV is not writablepublic static Is24CsvPrinter create(OutputStream output) throws IOException
Is24CsvPrinter
, that writes CSV data into an
OutputStream
.output
- where CSV is written toIOException
- if CSV is not writablepublic static Is24CsvPrinter create(Writer output) throws IOException
Is24CsvPrinter
, that writes CSV data into a
Writer
.output
- where CSV is written toIOException
- if CSV is not writableprotected void print(String value) throws IOException
CsvPrinter
print
in class CsvPrinter<Is24CsvRecord>
value
- CSV value to printIOException
- if printing failedCopyright © 2015 OpenEstate. All rights reserved.