比如某列数据存在逗号,只需要使用双引号把数据放在其中就可以了。
sb.append
("\""+document.getTitle() + "\"," + document.getNumber() + "," + document.getVersion() + "," + document.getApprovedDateString() + "," + document.getAuthor().getRealName() + "\n");
posted on 2011-03-29 22:27
周锐 阅读(1744)
评论(0) 编辑 收藏 所属分类:
Java