This class is used for exporting the data from a MySQL to Spreadsheet files in the Excel format.
The class executes a given database query and Extract the result set data to generate the Excel spreadsheet.
The generated Excel spreadsheet can be stored in a given file or be made available immediately for download.