public boolean csvBigLotteryExport( ArrayList<LNBigLottery> listOfBigLottery, String exportFullPath) { try { System.out.println("csvBigLotteryExport"); FileWriter writer = new FileWriter(exportFullPath); for (LNBigLottery lotteryNum : listOfBigLottery) { writer.append(lotteryNum.CSVLine()); } writer.flush(); writer.close(); return true; } catch (Exception e) { // TODO: handle exception System.out.println(e.getMessage()); return false; } }
private void arrayDataCheckBL() { for (LNBigLottery dataObj : listOfBigLottery) { print(dataObj.description()); } }