public final class CsvCellWriter extends Object implements CellWriter
| Modifier and Type | Field and Description |
|---|---|
static CsvCellWriter |
DEFAULT_WRITER |
| Constructor and Description |
|---|
CsvCellWriter(char separator,
char quote,
boolean alwaysEscape,
String endOfLine) |
| Modifier and Type | Method and Description |
|---|---|
CellWriter |
alwaysEscape() |
CsvCellWriter |
alwaysEscape(boolean alwaysEscape) |
CsvCellWriter |
endOfLine(String endOfLine) |
void |
endOfRow(Appendable target) |
void |
nextCell(Appendable target) |
CsvCellWriter |
quote(char quote) |
CsvCellWriter |
separator(char separator) |
void |
writeValue(CharSequence sequence,
Appendable appendable) |
public static final CsvCellWriter DEFAULT_WRITER
public CsvCellWriter(char separator,
char quote,
boolean alwaysEscape,
String endOfLine)
public void writeValue(CharSequence sequence, Appendable appendable) throws IOException
writeValue in interface CellWriterIOExceptionpublic void nextCell(Appendable target) throws IOException
nextCell in interface CellWriterIOExceptionpublic void endOfRow(Appendable target) throws IOException
endOfRow in interface CellWriterIOExceptionpublic CsvCellWriter separator(char separator)
public CsvCellWriter quote(char quote)
public CsvCellWriter alwaysEscape(boolean alwaysEscape)
public CsvCellWriter endOfLine(String endOfLine)
public CellWriter alwaysEscape()
Copyright © 2017. All rights reserved.