Package com.amalgamasimulation.excel
Class ExcelFile
ExcelFile allow you to save tabead data and cahrts to Excel file.
It contains a set of ExcelTable that represent an a tabled data and set of chart.
This class also store all CellStyle for applay it in really fast way.
This calss use apache POI for interractiong with Excel, and
предоставляет доступ к XSSFWorkbook for manual operation with it.
POIXMLProperties - может стоит написать get/set и упомянуть тут
- Author:
- Vitaliy
-
Field Summary
Fields inherited from class com.amalgamasimulation.excel.DataStorage
sheetToTables, tables -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddBarChart(String sheetName, int topRow, int leftColumn, int bottomRow, int rightColumn) addCustomProperty(String name, String value) addLineChart(String sheetName, int topRow, int leftColumn, int bottomRow, int rightColumn) <E> ExcelTable<E> protected <E> ExcelTable<E> createTable(String sheetName, int row, int column, List<E> elements, boolean isAutoSizeColumns) ExcelTableColumn<?, ?> getTableColumn(String sheetName, String columnName) org.apache.poi.xssf.usermodel.XSSFWorkbookbooleanwrite(OutputStream stream) booleanwrite(OutputStream stream, Supplier<Boolean> interrupt) booleanbooleanMethods inherited from class com.amalgamasimulation.excel.DataStorage
addTable, addTable
-
Constructor Details
-
ExcelFile
public ExcelFile()
-
-
Method Details
-
getWorkbook
public org.apache.poi.xssf.usermodel.XSSFWorkbook getWorkbook() -
createTable
protected <E> ExcelTable<E> createTable(String sheetName, int row, int column, List<E> elements, boolean isAutoSizeColumns) - Specified by:
createTablein classDataStorage<ExcelTable<?>>
-
addTable
- Overrides:
addTablein classDataStorage<ExcelTable<?>>
-
addCustomProperty
-
addLineChart
public ExcelLineChart addLineChart(String sheetName, int topRow, int leftColumn, int bottomRow, int rightColumn) -
addBarChart
public ExcelBarChart addBarChart(String sheetName, int topRow, int leftColumn, int bottomRow, int rightColumn) -
write
-
write
-
write
-
write
-
getTableColumn
-