io - Is it possible to discover plugged disks from Java? -


I am writing a disk crawler and if the user does not provide the current path then the program should search all the disks available. Does anyone know if this is possible and if Java is to do this?

Try it out:

  File.listRoots ();  

Comments

Popular posts from this blog

c# - PInvoke of NetUserAdd returns 24 -

NHibernate Passing Session to the Repository -

objective c - Mouse events for an NSSegmentedCell subclass? -