public class TIGUI {
public static void main(String[] args){
// System.out.println(Fribonacci(4));
String path = "D:\\portal";
File file=new File(path);
fun(file);//递归出文件
}
public static void fun(File file){
File[] fis=file.listFiles();
for (File file2 : fis) {
if(file2.isDirectory()){
fun(file2);
}else{
System.out.println(file2);
}
}
}
}