Package csv.impl
Interface ExcelFormatter
- All Known Implementing Classes:
DefaultExcelFormatter
public interface ExcelFormatter
Interface for formatting Excel sheets
- Author:
- RalphSchuster
-
Method Summary
Modifier and Type Method Description voidfinalize(ExcelWriter writer, int rowCount, int columnCount)Finalizes the workbook.voidsetStyle(ExcelWriter writer, org.apache.poi.ss.usermodel.Cell cell, java.lang.Object value)Sets the cell style.
-
Method Details
-
setStyle
Sets the cell style.- Parameters:
writer- writer that requires the informationcell- cell to be formattedvalue- value in cell
-
finalize
Finalizes the workbook. This method is called immediately before theExcelWriterwrites the complete workbook to the underlying output stream.- Parameters:
writer- the calling writerrowCount- the number of rows in the selected sheetcolumnCount- the number of columns modified in the selected sheet
-