摘要: 1 for(int i = 0;i<array.size();i++){ 2 Goods g = array.get(i); 3 File file = new File("d://goodsInfo.txt"); 4 FileOutputStream fos1 = new FileOutputStream(file, true); 5 // 创建FileOutputStream对应的PrintStream,方便操作。PrintStream的写入接口更便利 6 ... 阅读全文
posted @ 2014-03-08 23:17 Mr_Clint 阅读(8837) 评论(0) 推荐(1) 编辑