File f = new File(path);File[] files = f.listFiles();for (File inFile : files) { if (inFile.isDirectory()) { // is directory }}
欢迎分享,转载请注明来源:内存溢出
File f = new File(path);File[] files = f.listFiles();for (File inFile : files) { if (inFile.isDirectory()) { // is directory }}
欢迎分享,转载请注明来源:内存溢出
评论列表(0条)