This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Java in General and the fly likes getting a file name Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "getting a file name" Watch "getting a file name" New topic
Author

getting a file name

Chris Fetterley
Ranch Hand

Joined: May 13, 2003
Posts: 51
I was wondering how to get a file name?
Cindy Glass
"The Hood"
Sheriff

Joined: Sep 29, 2000
Posts: 8521
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?


"JavaRanch, where the deer and the Certified play" - David O'Meara
Chris Fetterley
Ranch Hand

Joined: May 13, 2003
Posts: 51
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.
 
Consider Paul's rocket mass heater.
 
subject: getting a file name
 
Similar Threads
how to make a war file
FTP
please help me out.. exam tomorrow
How to I know the my URLyBird version?
hey guys