CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2

Thread: JAVA

  1. #1
    Join Date
    Oct 1999
    Posts
    7

    JAVA

    I would like to know how to continue to write to a file without erasing the old contents. I just want to append to new data the data that already exists in the file.


  2. #2
    Join Date
    Sep 1999
    Location
    Madurai , TamilNadu , INDIA
    Posts
    1,024

    Re: JAVA


    Use FileWriter class.



    public FileWriter(String fileName,
    boolean append) throws IOException






    if the boolean is true , then the file will be opend in append mode.


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured