com.brsanthu.dataexporter.output.texttable.TextTable.txt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of data-exporter Show documentation
Show all versions of data-exporter Show documentation
data-exporter is a Java library to export the tabular data (like List of rows) into many output formats. As of latest release, this library supports following formats.
The newest version!
package com.brsanthu.dataexporter.output.texttable;
import java.io.PrintStream;
import java.util.ArrayList;
import java.util.List;
import com.brsanthu.dataexporter.model.BeanRow;
import com.brsanthu.dataexporter.model.CellCallback;
import com.brsanthu.dataexporter.model.Column;
import com.brsanthu.dataexporter.model.Footer;
import com.brsanthu.dataexporter.model.Row;
import com.brsanthu.dataexporter.model.RowCallback;
import com.brsanthu.dataexporter.model.RowDetails;
/**
* Pojo to holds the columns and rows data. Use the {@link #addColumn(Column...)} and {@link #addRow(List)}
* methods to add the columns, rows.
*
* Note that addColumn
and addRow
method supports multiple objects.
*
* @author Santhosh Kumar
*/
public class TextTable {
private CellCallback defaultCellCallback = null;
private RowCallback rowCallback = null;
private TextTableFormatter formatter = null;
private TextTableExportOptions options = new TextTableExportOptions();
private List columns = new ArrayList();
private List
© 2015 - 2025 Weber Informatics LLC | Privacy Policy