public class CsvTableFormatter extends AbstractTableFormatter
Modifier and Type | Field and Description |
---|---|
protected boolean |
headerDone |
protected String |
title |
column, columns, config, writer
Constructor and Description |
---|
CsvTableFormatter(Writer writer,
String title,
char separator,
String invalidString,
boolean writeHeader,
boolean writeTitle,
Locale locale,
Column... columns) |
CsvTableFormatter(Writer writer,
String title,
char separator,
String invalidString,
boolean writeHeader,
Locale locale,
Column... columns) |
CsvTableFormatter(Writer writer,
String title,
TableFormatterConfig config,
Column... columns) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
protected TableFormatter |
write(String value) |
TableFormatter |
writeComment(String comment) |
protected void |
writeHeader() |
writeCell, writeCell, writeCell, writeCell, writeCell, writeCell, writeEmptyCell, writeEmptyCells, writeEmptyLine, writeEmptyLines
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
writeCell
protected final String title
protected boolean headerDone
public CsvTableFormatter(Writer writer, String title, TableFormatterConfig config, Column... columns)
public CsvTableFormatter(Writer writer, String title, char separator, String invalidString, boolean writeHeader, Locale locale, Column... columns)
protected void writeHeader() throws IOException
IOException
public TableFormatter writeComment(String comment) throws IOException
IOException
protected TableFormatter write(String value) throws IOException
write
in class AbstractTableFormatter
IOException
public void close() throws IOException
IOException
Copyright © 2020. All rights reserved.