• Post Reply Bookmark Topic Watch Topic
  • New Topic

File Directory access

 
Dan Lynch
Ranch Hand
Posts: 47
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all,

Im wondering if I can access the files in a particular. What I mean is I know the directory I want to access but can I have some loop that returns the names of all the files in that directory.

Cheers
Dan
 
Shyam Prasad Murarka
Ranch Hand
Posts: 209
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Dear Dan,
After I read your problem I quickly searched throught a code that I had once downloaded and I found the answer you were seeking.
 
Ernest Friedman-Hill
author and iconoclast
Sheriff
Posts: 24213
35
Chrome Eclipse IDE Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Better than searching through old source code is learning to use the Java API documentation.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!