11 Replies Latest reply: Apr 30, 2007 4:58 AM by 807606 RSS

    RandomAccessFile

    807606
      Hi Friends,

      i have one file and file name is "info.txt". this file have some content like

      download
      technologies
      products

      i need to add one more content(like "support") using RandomAccessFile and how can i add that content to my file.


      but, am using

      RandomAccessFile raf = new RandomAccessFile(new File("info.txt"),"rw");

      using this code to new file was created....
      my old file was replaced and all the content removed...

      what i do? help me!!!