public int outputExcel() { if (FileType.getFileType() == 1) { excel_xls.outputExcel(); return 1; } else if (FileType.getFileType() == 2) { excel_xlsx.outputExcel(); return 1; } return -1; }