public void setExcelFileName ( String fileName ) { Preconditions . checkArgument ( StringUtils . endsWith ( fileName , ".xls" ) , "Excel file name must end with '.xls'." ) ; reportFileName = fileName ; }
Sets the output file name for the Excel Report . The file should have xls extension .