2011-06-17 52 views

回答

0

您可以使用標準的文件功能

File directory = new File("your file path"); 

    File file[] = directory.listFiles(); 
       System.out.println("The length of files is " + file.length); 



       for(int i=0;i<file.length;i++) 
       { 
//for each file object get any details you wish to using the standard functions...jst google :) 
} 

現在存儲在數據庫中的細節使用datahelper。

+0

非常感謝..可以用這個來顯示目錄嗎? – 2011-06-17 12:50:58

相關問題