Package reportinEngines
Class ReportGeneratorForHTML
- java.lang.Object
-
- reportinEngines.ReportGeneratorForHTML
-
- All Implemented Interfaces:
IReportGenerator
public class ReportGeneratorForHTML extends java.lang.Object implements IReportGenerator
ReportGeneratorForHTML
Responsible for saving the restaurant statistics in HTML format- Since:
- 2017-07-22
- Version:
- 1.0
-
-
Constructor Summary
Constructors Constructor Description ReportGeneratorForHTML()
-
Method Summary
Modifier and Type Method Description void
rasterToHTML(java.lang.String fileName, java.lang.String title, java.lang.String[][] raster, int numRows, int numCols)
Creates and saves the data in HTML formatvoid
reportOnDishes(java.util.ArrayList<Dish> menu)
Saves the statistics for the dishesvoid
reportOnEmps(java.util.ArrayList<Employee> personnel)
Saves the statistics for the employees
-
-
-
Method Detail
-
rasterToHTML
public void rasterToHTML(java.lang.String fileName, java.lang.String title, java.lang.String[][] raster, int numRows, int numCols)
Creates and saves the data in HTML format
-
reportOnEmps
public void reportOnEmps(java.util.ArrayList<Employee> personnel)
Saves the statistics for the employees- Specified by:
reportOnEmps
in interfaceIReportGenerator
- Parameters:
personnel
- : list of employees
-
reportOnDishes
public void reportOnDishes(java.util.ArrayList<Dish> menu)
Saves the statistics for the dishes- Specified by:
reportOnDishes
in interfaceIReportGenerator
- Parameters:
menu
- : list of dishes
-
-