???????????
???????????? ???????[ 2013/1/10 9:50:23 ] ????????
??????????????????£?
???????г???????????е??????????
??????????
????[html] view plaincopyprint?
????/*
????* time:2012.12.2
????* author:??????
????* description???г???????????е??????????
????*/
????public class ListDir {
????static void getDir(String strPath) throws Exception {
????try {
????File f = new File(strPath);
????if (f.isDirectory()) {
????File[] fList = f.listFiles();
????for (int j = 0; j < fList.length; j++) {
????if (fList[j].isDirectory()) {
????System.out.println(fList[j].getPath());
????getDir(fList[j].getPath()); // ??getDir???????????????getDir????????
????}
????}
????for (int j = 0; j < fList.length; j++) {
????if (fList[j].isFile()) {
????System.out.println(fList[j].getPath());
????}
????}
????}
????} catch (Exception e) {
????System.out.println("Error?? " + e);
????}
????}
????public static void main(String[] args) {
????String strPath = "E:";
????System.out.println(strPath);
????try {
????getDir(strPath);
????} catch (Exception e) {
????}
????}
????}
????/*
????* time:2012.12.2
????* author:??????
????* description???г???????????е??????????
????*/
????public class ListDir {
????static void getDir(String strPath) throws Exception {
????try {
????File f = new File(strPath);
????if (f.isDirectory()) {
????File[] fList = f.listFiles();
????for (int j = 0; j < fList.length; j++) {
????if (fList[j].isDirectory()) {
????System.out.println(fList[j].getPath());
????getDir(fList[j].getPath()); // ??getDir???????????????getDir????????
????}
????}
????for (int j = 0; j < fList.length; j++) {
????if (fList[j].isFile()) {
????System.out.println(fList[j].getPath());
????}
????}
????}
????} catch (Exception e) {
????System.out.println("Error?? " + e);
????}
????}
????public static void main(String[] args) {
????String strPath = "E:";
????System.out.println(strPath);
????try {
????getDir(strPath);
????} catch (Exception e) {
????}
????}
????}
??????

???·???
App??С????H5?????????????????Щ??
2024/9/11 15:34:34?????????????????????????
2024/9/10 11:13:49P-One ???????????????????????????????????????
2024/9/10 10:14:12???????????????????????????
2024/9/9 18:04:26??????????????????
2023/3/23 14:23:39???д?ò??????????
2023/3/22 16:17:39????????????????????Щ??
2022/6/14 16:14:27??????????????????????????
2021/10/18 15:37:44