This week's book giveaway is in the Agile and other Processes forum.
We're giving away four copies of The Mikado Method and have Ola Ellnestam and Daniel Brolund on-line!
See this thread for details.
The moose likes Java in General and the fly likes Code to Modify the contents of a file. Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Java » Java in General
Reply locked New topic
Author

Code to Modify the contents of a file.

Moni Marva
Greenhorn

Joined: Jan 24, 2005
Posts: 23
Hi,
The contents of the .log file are as mentioned below,

12/02/2005,12:30:06:09,12/02/2005,12:40:09:09,failure,ind-mhp1dxp0323

In this I want to change the status from say "failure" to "sucess" for a particular line.
I want the solution to do this using File Io , Random Access file.
Stefan Wagner
Ranch Hand

Joined: Jun 02, 2003
Posts: 1923

And where is the problem?
And why is this an advanced topic? IMHO it's a beginners question.


http://home.arcor.de/hirnstrom/bewerbung
 
I agree. Here's the link: http://zeroturnaround.com/jrebel - it saves me about five hours per week
 
subject: Code to Modify the contents of a file.
 
Similar Threads
Transform text file to xml file
Code to Modify the contents of a file
Code to Modify the contents of a file
Input Data to MySQL Database
Transform text file to xml