CellWriterpublic final class CsvCellWriter extends Object implements CellWriter
| Modifier and Type | Field | Description |
|---|---|---|
static CsvCellWriter |
DEFAULT_WRITER |
| Constructor | Description |
|---|---|
CsvCellWriter(char separator,
char quote,
char escape,
boolean alwaysEscape,
String endOfLine) |
| Modifier and Type | Method | Description |
|---|---|---|
CellWriter |
alwaysEscape() |
|
CsvCellWriter |
alwaysEscape(boolean alwaysEscape) |
|
CsvCellWriter |
endOfLine(String endOfLine) |
|
void |
endOfRow(Appendable target) |
|
CsvCellWriter |
escape(char escape) |
|
void |
nextCell(Appendable target) |
|
CsvCellWriter |
quote(char quote) |
|
CsvCellWriter |
separator(char separator) |
|
void |
writeRow(CharSequence[] values,
Appendable appendable) |
|
void |
writeRow(Iterable<? extends CharSequence> values,
Appendable appendable) |
|
void |
writeValue(CharSequence sequence,
Appendable appendable) |
public static final CsvCellWriter DEFAULT_WRITER
public CsvCellWriter(char separator,
char quote,
char escape,
boolean alwaysEscape,
String endOfLine)
public void writeRow(CharSequence[] values, Appendable appendable) throws IOException
IOExceptionpublic void writeRow(Iterable<? extends CharSequence> values, Appendable appendable) throws IOException
IOExceptionpublic 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 escape(char escape)
public CsvCellWriter alwaysEscape(boolean alwaysEscape)
public CsvCellWriter endOfLine(String endOfLine)
public CellWriter alwaysEscape()
Copyright © 2018. All rights reserved.