Searching for file extension in entire system

纵然是瞬间 提交于 2019-12-12 01:55:25

问题


I have a created a tray application. User can tick the file extensions which are available in the tray application to search. Therefore, when a user ticks a file extension, (letz assume .java) the tray application must search for all .java files in entire windows OS system.. i.e C:, D:, E:, etc. How could i do this ???


回答1:


I think this is what you are looking for..

http://download.oracle.com/javase/tutorial/essential/io/find.html

A simple google search actually :)



来源:https://stackoverflow.com/questions/7399654/searching-for-file-extension-in-entire-system

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!