Package hec.dataTable
Class HecDataTableToExcel
java.lang.Object
hec.dataTable.HecDataTableToExcel
Contains methods to Export data to Excel
Used in DssVue to export TimeSeriesContainer,
PairedData, etc, to an Excel workbook.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidcreateExcelFile(List[] dataSets, String excelFilename) voidcreateExcelFile(Vector dataSets, String excelFilename) protected voidcreateSheets(org.apache.poi.ss.usermodel.Workbook writableWorkbook, Vector jTables) protected voidcreateTables(List dataSets) org.apache.poi.ss.usermodel.WorkbookcreateXlsFile(String xlsFilename) org.apache.poi.ss.usermodel.WorkbookcreateXlsxFile(String xlsxFilename) static HecDataTableToExcelnewTable()orderPairedDataContainers(List dataSets) protected booleanvoidvoidvoidvoidprotected voidwriteWookbook(org.apache.poi.ss.usermodel.Workbook writableWorkbook)
-
Constructor Details
-
HecDataTableToExcel
public HecDataTableToExcel()Constructor for the Table object
-
-
Method Details
-
newTable
-
createXlsFile
- Throws:
Exception
-
createXlsxFile
- Throws:
Exception
-
readEditedSheets
- Throws:
Exception
-
createSheets
protected void createSheets(org.apache.poi.ss.usermodel.Workbook writableWorkbook, Vector jTables) throws Exception - Throws:
Exception
-
writeWookbook
protected void writeWookbook(org.apache.poi.ss.usermodel.Workbook writableWorkbook) throws Exception - Throws:
Exception
-
createTables
- Throws:
Exception
-
orderPairedDataContainers
-
getEditedContainers
- Throws:
Exception
-
createExcelFile
- Throws:
Exception
-
createExcelFile
- Throws:
Exception
-
runExcel
- Throws:
Exception
-
runExcel
- Throws:
Exception
-
runExcel
- Throws:
Exception
-
runExcel
- Throws:
Exception
-