Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
343 views
in Technique[技术] by (71.8m points)

java - Searching for file extension in entire system

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 ???

See Question&Answers more detail:os

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)

I think this is what you are looking for..

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

A simple google search actually :)


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...