Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

getting a file name

 
Chris Fetterley
Ranch Hand
Posts: 51
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I was wondering how to get a file name?
 
Cindy Glass
"The Hood"
Sheriff
Posts: 8521
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Any file name? Or are you looking for a particular one? Do you have a reference to it? Or are you scanning a directory? Are you doing this from a Servlet context, or is this an Applet or an application?
 
Chris Fetterley
Ranch Hand
Posts: 51
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I need to read each file individually to see the content and change some info within. there are many different files so I needed to set up a way to just read until the end of the directory. not really concerned on the latter details because the search (for the most part anyways.... ) is done. I'm just concerned with being able to read the files.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic