Class MaterialListReporterImpl
java.lang.Object
com.kazurayam.materialstore.base.report.AbstractReporter
com.kazurayam.materialstore.base.report.MaterialListReporter
com.kazurayam.materialstore.base.report.MaterialListReporterImpl
- All Implemented Interfaces:
HTMLPrettyPrintingCapable
MaterialListBasicReportFM class is coded in Java.
MaterialListBasicReportFM uses FreeMarker as the HTML template engine.
-
Field Summary
Fields inherited from class com.kazurayam.materialstore.base.report.AbstractReporter
prettyPrinting, verboseLogging
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionreport
(MaterialList materialList, SortKeys sortKeys, String reportFileName) void
report
(MaterialList materialList, SortKeys sortKeys, Path filePath) report
(MaterialList materialList, String reportFileName) using Bootstrap 5 using FreeMarkervoid
report
(MaterialList materialList, Path filePath) Methods inherited from class com.kazurayam.materialstore.base.report.AbstractReporter
enablePrettyPrinting, isPrettyPrintingEnabled, writeModel
-
Constructor Details
-
MaterialListReporterImpl
- Throws:
MaterialstoreException
-
-
Method Details
-
report
using Bootstrap 5 using FreeMarker- Specified by:
report
in classMaterialListReporter
- Parameters:
materialList
- List of MaterialList object to printreportFileName
- "list.html" as default- Returns:
- Path object as the output
- Throws:
MaterialstoreException
-
report
public Path report(MaterialList materialList, SortKeys sortKeys, String reportFileName) throws MaterialstoreException - Specified by:
report
in classMaterialListReporter
- Throws:
MaterialstoreException
-
report
- Specified by:
report
in classMaterialListReporter
- Throws:
MaterialstoreException
-
report
public void report(MaterialList materialList, SortKeys sortKeys, Path filePath) throws MaterialstoreException - Specified by:
report
in classMaterialListReporter
- Throws:
MaterialstoreException
-