Reg: File Reading Problem
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"))
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 ?