The Artima Developer Community
Sponsored Link

Legacy Java Answers Forum
September 2000

Advertisement

Advertisement

This page contains an archived post to the Java Answers Forum made prior to February 25, 2002. If you wish to participate in discussions, please visit the new Artima Forums.

Message:

About u'r question

Posted by Jayanthi on January 09, 2002 at 8:27 PM

I am sorry this reply is coming so late.

Could you please tell me how u solved this problem?
I have the same situtation and any suggestion would help.

> Hi all
> Is there a method of inserting a string into a text file without overwriting existing text content.

> I am using RandomAccesFile.
> The Text file i have is a record of names under different headings.
> so for a particular heading if i need to insert another name,
> without deleting existing names what do i need to do.
> all names are on different lines.
> i am using writeUTF(),and readUTF() to read and write.bcos i need to
> be able to do the same even under UNIX.
> bye...






Replies:

Sponsored Links



Google
  Web Artima.com   
Copyright © 1996-2009 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use - Advertise with Us