View Single Post
Old 06-21-2006, 03:04 PM   #2 (permalink)
Belisarius
Java fanboy
 
Belisarius's Avatar
 
Join Date: Aug 2003
Posts: 1,148
Belisarius is on a distinguished road
I think you're looking for File.listRoots(). Break it out into a Thread that sleeps every other second and checks for new filesystems, alerting the main program when it finds one.
__________________
GitS
Belisarius is offline   Reply With Quote