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