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 I/O and Streams and the fly likes Reading from file A, writing to file B 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 » I/O and Streams
Bookmark "Reading from file A, writing to file B" Watch "Reading from file A, writing to file B" New topic
Author

Reading from file A, writing to file B

Art Metzer
Ranch Hand

Joined: Oct 31, 2000
Posts: 241
Hello.
I would like to read text file "A", manipulate the text, and write the result to text file "B". This is what I've come up with:

It works, but are there improvements I could make?
Thanks,
Art
Chad McGowan
Ranch Hand

Joined: May 10, 2001
Posts: 265
Art,
I looked at this yesterday and thought that it looked like the best way. Judging by the lack of responses, I think everyone else feels the same way. Just didn't want you to think you were being ignored!
Chad
 
 
subject: Reading from file A, writing to file B
 
Similar Threads
FileIO
Writing to File
Can not find my error ? Help
Create .txt file
Copying MS Access Database