日期:2014-05-20 浏览次数:20746 次
BufferedReader reader = new BufferedReader(new InputStreamReader(new FileInputStream("读取文件"))); String line = ""; while((line = reader.readLine()) != null){ /** 分析line */ if(“不符合要求”) continue; else /** 执行插入 */ }