Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
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
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: 3429
    
  12
Create a File object and call its isDirectory() method.


Joanne
 
 
subject: Recognising Folders
 
Similar Threads
Purpose of different "lib" in JBoss 5
XML File should be present on to the classpath
Issue with Application
neep help - files inside folder structure
Class files are not being updated