Class 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
    • 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 format
      void reportOnDishes​(java.util.ArrayList<Dish> menu)
      Saves the statistics for the dishes
      void reportOnEmps​(java.util.ArrayList<Employee> personnel)
      Saves the statistics for the employees
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ReportGeneratorForHTML

        public ReportGeneratorForHTML()
    • 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 interface IReportGenerator
        Parameters:
        personnel - : list of employees
      • reportOnDishes

        public void reportOnDishes​(java.util.ArrayList<Dish> menu)
        Saves the statistics for the dishes
        Specified by:
        reportOnDishes in interface IReportGenerator
        Parameters:
        menu - : list of dishes