Results 1 to 2 of 2
  1. #1
    Ria
    Ria is offline Member
    Join Date
    Sep 2012
    Posts
    1
    Rep Power
    0

    Default Writing output to a file

    Hello,

    I am new to java and this forum. I have a program where I search 2 files for matching patterns, new additions or deletions. After finding the these, i want to write that to a log this information. Can someone suggest me the best way to do that. I m looking for a way to write
    <File Rev. Nr=value><Operation='Insert/delete/same><Line source_from='value'><Line_Source_To='value'><Line Target_from='value'><Line_Target_To='value'><No:of Lines='value'>
    I need to read this information later.
    Any pointers would be of great help.
    Thankyou,
    Ria
    Last edited by Ria; 09-26-2012 at 10:05 AM.

  2. #2
    DarrylBurke's Avatar
    DarrylBurke is offline Forum Police
    Join Date
    Sep 2008
    Location
    Madgaon, Goa, India
    Posts
    11,458
    Rep Power
    20

    Default Re: Writing output to a file

    If you're forever cleaning cobwebs, it's time to get rid of the spiders.

Similar Threads

  1. Replies: 15
    Last Post: 04-12-2011, 04:42 PM
  2. Writing output file
    By doymand in forum New To Java
    Replies: 2
    Last Post: 11-05-2010, 02:24 PM
  3. Writing a block of text as it is to output file
    By bikashg in forum New To Java
    Replies: 5
    Last Post: 05-30-2010, 12:38 AM
  4. Replies: 1
    Last Post: 02-27-2010, 02:29 AM
  5. Help in writing the output in html file
    By aks.nitw in forum Advanced Java
    Replies: 5
    Last Post: 01-18-2010, 02:33 PM

Posting Permissions

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