Results 1 to 2 of 2
- 11-10-2009, 11:25 AM #1
Member
- Join Date
- Nov 2009
- Posts
- 10
- Rep Power
- 0
Reading Text File with Certain Conditions
Hi,
Pls guide me
My requriment is to display Null pointer Exception and Log Entry Lines.I displayed null pointer exception using
below coding .
Text Files Look Like:
Log Entry-- Date and Time
Excpetion: Null pointer Exception
Log Entry-- Date and Time
--->1 Line Log Entry-- Date and Time
---> 2
--->3 Line Line Excpetion: Stack overflow exception
---> 4
--->5 Line Log Entry-- Date and Time
Log Entry-- Date and Time
Excpetion: Null pointer Exception
Log Entry-- Date and Time.
while(stringvalue=reading line by line!=null )
{
if(stringvalue.contains("Null pointer Exceptions"))
{
S.O.P(stringvalue);
}
}
How to Display Log entry and Null pointer Exception Log Entry Lines
- 11-10-2009, 11:38 AM #2
So what is your problem?
Math problems? Call 1-800-[(10x)(13i)^2]-[sin(xy)/2.362x]
The Ubiquitous Newbie Tips
Similar Threads
-
Reading Integers from a text file
By tress in forum New To JavaReplies: 6Last Post: 02-26-2011, 05:45 PM -
Reg: Reading Files from Text file
By balaji csc in forum New To JavaReplies: 1Last Post: 11-09-2009, 11:06 AM -
[SOLVED] Change text colour on conditions in netbeans
By dbashby in forum New To JavaReplies: 0Last Post: 03-26-2009, 01:23 AM -
Reading two text file and sum them up
By matt_well in forum New To JavaReplies: 36Last Post: 07-22-2008, 02:55 AM -
Reading text file
By Lennon-Guru in forum New To JavaReplies: 1Last Post: 12-15-2007, 11:38 PM


LinkBack URL
About LinkBacks
Reply With Quote
Bookmarks