aspose file tools
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
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

some crossposting (advanced).
some crossposting (advanced).


http://home.arcor.de/hirnstrom/bewerbung
 
I agree. Here's the link: http://jrebel.com/download
 
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