|
Help with File in java
I am trying to view files in a given directory on the computer inside a java program.
Basically, when given a string such as "C:\My Documents", how would i display the names of the files inside that directory?
Furthermore how would I tell if those files are directories themselves or other types of files?
Sorry I do not have any code to post but I am digging through the api docs to try and find the right classes to use and having no luck. I only need ideas for classes to use if anyone has any ideas.
Thanks
|