日期:2014-05-19 浏览次数:20736 次
File file = new File("E:\\fuck"); File [] files = file.listFiles(); for (int i = 0; i < files.length; i++) { File file1 = files[i]; file1.getName(); //根据后缀判断 }