*/
private static void genBody(List<GameInfoBean> gameList, BufferedWriter bw) throws Exception {
numOfGames = gameList.size();
Iterator<GameInfoBean> itor = gameList.iterator();
while (itor.hasNext()) {
GameInfoBean bean = itor.next();
StringBuffer sb = new StringBuffer();
sb.append(GameTools.SPACE);
sb.append(bean.getGameID());
sb.append(GameTools.SPACE);
sb.append(String.format("%11s", bean.getPlayerCard1()));
sb.append(String.format("%11s", bean.getPlayerCard2()));
sb.append(String.format("%11s", bean.getPlayerCard3()));
sb.append(String.format("%11s", bean.getBankerCard1()));
sb.append(String.format("%11s", bean.getBankerCard2()));
sb.append(String.format("%11s", bean.getBankerCard3()));
sb.append(GameTools.TAB);
sb.append("(" + bean.getBankerPoint() + "-" + bean.getPlayerPoint() + ") ");
sb.append(String.format("%11s", bean.getResultNum()));
sb.append(String.format("%11s", GameTools.formatAmount(bean.getBetOnPlayer())));
sb.append(String.format("%11s", GameTools.formatAmount(bean.getBetOnBanker())));
sb.append(String.format("%11s", GameTools.formatAmount(bean.getBetOnTie())));
sb.append(String.format("%11s", GameTools.formatAmount(bean.getBettingAmount())));
sb.append(String.format("%11s", GameTools.formatAmount(bean.getReturnAmount())));
sb.append(String.format("%13s", GameTools.formatAmount(bean.getBalance())));
totalWager += bean.getBettingAmount();
totalPayback += bean.getReturnAmount();
bw.write(sb.toString());
bw.newLine();
}
}