File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Beginning Java and the fly likes Updating a text file Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Java » Beginning Java
Reply locked New topic
Author

Updating a text file

aakash bhatt
Ranch Hand

Joined: Jan 09, 2003
Posts: 182
Hi,

I have a file Workorder.txt file, from which i had to modify some values,

Workorder.txt
For eg:
PurchaseNo = 1111
Date = 01/01/2004
Description = New Purchase Order

Now if i to change the Date to 02/02/2004.Which stream should i use and how.

Thanks,
aakash
Joe Ess
Bartender

Joined: Oct 29, 2001
Posts: 8708
    
    6

Please don't crosspost


"blabbing like a narcissistic fool with a superiority complex" ~ N.A.
[How To Ask Questions On JavaRanch]
Dirk Schreckmann
Sheriff

Joined: Dec 10, 2001
Posts: 7023
Let's continue this in the duplicate post in the I/O and Streams forum.


[How To Ask Good Questions] [JavaRanch FAQ Wiki] [JavaRanch Radio]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Updating a text file
 
Similar Threads
Updating a file
Working with Dates
SQL question
return number of weekends in a date range
string to date conversion problem