public class AsciiTableFormatter extends AbstractTableFormatter
column, columns, config, writer
Constructor and Description |
---|
AsciiTableFormatter(String title,
Column... columns) |
AsciiTableFormatter(Writer writer,
String title,
Column... columns) |
AsciiTableFormatter(Writer writer,
String title,
TableFormatterConfig config,
Column... columns) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
protected TableFormatter |
write(String value) |
TableFormatter |
writeCell(String value,
int colspan) |
TableFormatter |
writeComment(String comment) |
TableFormatter |
writeEmptyLine() |
writeCell, writeCell, writeCell, writeCell, writeCell, writeCell, writeEmptyCell, writeEmptyCells, writeEmptyLines
public AsciiTableFormatter(Writer writer, String title, TableFormatterConfig config, Column... columns)
public TableFormatter writeEmptyLine() throws IOException
writeEmptyLine
in interface TableFormatter
writeEmptyLine
in class AbstractTableFormatter
IOException
public TableFormatter writeComment(String comment)
public TableFormatter writeCell(String value, int colspan)
protected TableFormatter write(String value) throws IOException
write
in class AbstractTableFormatter
IOException
public void close() throws IOException
IOException
Copyright © 2020. All rights reserved.