日期:2014-05-20 浏览次数:20758 次
String begFile = localSavePath + File.separator + getFileName(date);
File file = new File(begFile);
fileName = getFileName(date);
PrintWriter out = null;
try {
out = new PrintWriter(new FileWriter(file));
if (list != null && list.size() > 0) {
for (int i = 1; i < list.size() + 1; i++) {
ReceiveModel data = (ReceiveModel) list.get(i - 1);
if (true) {
out.print(new String(data.writeString().getBytes(
"UTF-8")));
}
}
}
out.flush();
out.close();