public void setExcelFileName(String fileName) {
        Preconditions.checkArgument(StringUtils.endsWith(fileName, ".xls"), "Excel file name must end with '.xls'.");
        reportFileName = fileName;
    }
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.

@param fileName
The file name without any path.