Results 1 to 1 of 1
  1. #1
    balaji csc is offline Member
    Join Date
    Nov 2009
    Posts
    10
    Rep Power
    0

    Default Reg: File Reading Problem

    Hi,
    Could plz help me .
    I am reading files from text file using Java coding.

    ------Log Entry Date and Time

    Error Description :Exceptions Null Pointer Exceptions

    ------Log Ended Date and Time


    My requriement is to display particularly Null pointer Exceptions and Log Entry Date and Time also .I have displayed Null Pointer Exceptions in the file ,Using below coding


    while(stringvalue=reading line by line!=null )
    {
    if(stringvalue.contains("Null pointer Exceptions"))
    {
    S.O.P(stringvalue);
    }
    }

    But i want to display with this Log Entry Date and Time Line Is it possible to display before two line .Is there Any api available ?
    Last edited by balaji csc; 11-06-2009 at 05:29 PM.

Similar Threads

  1. Replies: 5
    Last Post: 08-21-2009, 12:03 PM
  2. Weird path problem when reading properties file
    By jerry_popperq in forum New To Java
    Replies: 0
    Last Post: 03-18-2009, 04:32 PM
  3. Problem with reading text from a .txt file
    By Gigi in forum New To Java
    Replies: 40
    Last Post: 01-22-2009, 04:22 AM
  4. Problem in reading HTML input field while uploading file
    By sudipanand in forum Java Servlet
    Replies: 1
    Last Post: 11-27-2008, 10:26 AM
  5. Problem reading an xml file with AJAX
    By Fiona80 in forum XML
    Replies: 0
    Last Post: 12-17-2007, 09:02 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
  •