aspose file tools*
The moose likes Swing / AWT / SWT and the fly likes Java API locating directoires Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "Java API locating directoires" Watch "Java API locating directoires" New topic
Author

Java API locating directoires

deepa anandan
Greenhorn

Joined: Jun 06, 2006
Posts: 24
Hi,

Can you please specify is there an API in java that finds out the name and number of drives present in the system.

Since I need to identify a directory XYZ in my local machine.

Kind regards,
Deepa
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 42276
    
  64
Check out the java.io.File.listRoots method.


Ping & DNS - my free Android networking tools app
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Java API locating directoires