Package org.brapi.schematools.analyse
Class TabularReportWriter
java.lang.Object
org.brapi.schematools.analyse.TabularReportWriter
Writes a tabular report to file.
-
Method Summary
Modifier and TypeMethodDescriptionAuto-filter all columnsAuto-sizes all columnsFreeze pane all columnsstatic TabularReportWriterwriter()Creates the default WritervoidwriteToExcel(List<org.dflib.DataFrame> reports, Path path) Write the tabular reports to an Excel filevoidwriteToExcel(org.dflib.DataFrame report, Path path) Write the tabular reports to an Excel file
-
Method Details
-
writer
Creates the default Writer- Returns:
- the default Writer
-
autoSizeColumns
Auto-sizes all columns- Returns:
- the writer for method chaining
-
autoFilterColumns
Auto-filter all columns- Returns:
- the writer for method chaining
-
freezePane
Freeze pane all columns- Returns:
- the writer for method chaining
-
writeToExcel
Write the tabular reports to an Excel file- Parameters:
reports- the tabular reports to be written to an Excel filepath- the path of the Excel file.- Throws:
IOException- if th Excel file can be written.
-
writeToExcel
Write the tabular reports to an Excel file- Parameters:
report- the tabular report to be written to an Excel filepath- the path of the Excel file.- Throws:
IOException- if th Excel file can be written.
-