public class CSVExporter extends Object
Constructor and Description |
---|
CSVExporter() |
Modifier and Type | Method and Description |
---|---|
protected CSVWriter |
buildCSVWriter(Writer writer) |
void |
export(Writer writer,
TableModel model,
boolean withTitles) |
protected String |
getExported(int rowIndex,
int columnIndex,
Object value)
Gets the representation of a cell content.
|
public void export(Writer writer, TableModel model, boolean withTitles) throws IOException
IOException
protected String getExported(int rowIndex, int columnIndex, Object value)
rowIndex
- the row index of the cell.columnIndex
- the column index of the cell.value
- The value of the cell (returned by TableModel.getValueAt(rowIndex, columnIndex).CSVWriter.getDecimalFormater(Locale)
Copyright © 2022. All rights reserved.