62,636
社区成员




File file = new File("ChineseDictionary.dat");
try {
FileReader fr = new FileReader(new File(Test.class.getResource("").getPath()+"/201001.txt"));
BufferedReader br = new BufferedReader(fr);
String str;
// while((str = br.readLine())!=null){
// System.out.println(str);
// }
} catch (FileNotFoundException e) {//捕获异常
// TODO Auto-generated catch block
e.printStackTrace();
} catch (IOException e) {
// TODO Auto-generated catch block
e.printStackTrace();
}
File file = new File("ChineseDictionary.dat");
file.createNewFile();