File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Java in General and the fly likes Recognising Folders 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 » Java in General
Bookmark "Recognising Folders " Watch "Recognising Folders " New topic
Author

Recognising Folders

jyotsna srikanth
Greenhorn

Joined: Sep 25, 2007
Posts: 12
Hi,
I need help to how to recognise those folders present in particular location say in windows file system(may be c:,d:,f ,with there names present in particular drive using java code.
Joanne Neal
Rancher

Joined: Aug 05, 2005
Posts: 3646
    
  15
Create a File object and call its isDirectory() method.


Joanne
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Recognising Folders