R
raj
Hi,
I have text file which contains data in this way
DEBUG ooegroup.OoeGroupOnlineInterfaceImpl - PERFORMANCE
MEASUREMENT :: BEFORE OOE RESERVE GROUP MEMBER Info >>>> Fri Apr 03
10:16:47 ICT 2009>
DEBUG ooegroup.OoeGroupOnlineInterfaceImpl - reserveOOEGroup :>
DEBUG ooegroup.OoeGroupOnlineInterfaceImpl - PERFORMANCE
MEASUREMENT :: AFTER OOE RESERVE GROUP MEMBER Info >>>> Fri Apr 03
10:16:48 ICT 2009>
DEBUG reserve.ReserveOoeGroupResponseMapper - Start :
mapToOOEGroupResponse>
each line starts with DEBUG
i need to read this text and take the strings which contains
PERFORMANCE MEASUREMENT and split this
PERFORMANCE MEASUREMENT :: BEFORE OOE RESERVE GROUP MEMBER Info >>>>
Fri Apr 03 10:16:47 ICT 2009>
into 1) BEFORE
2) OOE RESERVE GROUP MEMBER Info and 3) Fri Apr 03 10:16:47 ICT 2009
i mean to say into 3 tokens .
i have done upto this part
lineText = lnr.readLine();
while (lineText != null) {
lineText = lnr.readLine();
if (lineText != null) {
if (lineText.contains("PERFORMANCE MEASUREMENT")) {
s = lineText.toString();
String delims = "PERFORMANCE MEASUREMENT ::";
String[] tokens = s.split(delims);
System.out.println(tokens[1]);
}
}
}
splitted into
BEFORE OOE RESERVE GROUP MEMBER Info >>>> Fri Apr 03 10:16:47 ICT
2009>
AFTER OOE RESERVE GROUP MEMBER Info >>>> Fri Apr 03 10:16:48 ICT 2009>
how can i further split into
1) BEFORE
2) OOE RESERVE GROUP MEMBER Info and 3) Fri Apr 03 10:16:47 ICT 2009
Thanks in advance
Regards
Raj
I have text file which contains data in this way
DEBUG ooegroup.OoeGroupOnlineInterfaceImpl - PERFORMANCE
MEASUREMENT :: BEFORE OOE RESERVE GROUP MEMBER Info >>>> Fri Apr 03
10:16:47 ICT 2009>
DEBUG ooegroup.OoeGroupOnlineInterfaceImpl - reserveOOEGroup :>
DEBUG ooegroup.OoeGroupOnlineInterfaceImpl - PERFORMANCE
MEASUREMENT :: AFTER OOE RESERVE GROUP MEMBER Info >>>> Fri Apr 03
10:16:48 ICT 2009>
DEBUG reserve.ReserveOoeGroupResponseMapper - Start :
mapToOOEGroupResponse>
each line starts with DEBUG
i need to read this text and take the strings which contains
PERFORMANCE MEASUREMENT and split this
PERFORMANCE MEASUREMENT :: BEFORE OOE RESERVE GROUP MEMBER Info >>>>
Fri Apr 03 10:16:47 ICT 2009>
into 1) BEFORE
2) OOE RESERVE GROUP MEMBER Info and 3) Fri Apr 03 10:16:47 ICT 2009
i mean to say into 3 tokens .
i have done upto this part
lineText = lnr.readLine();
while (lineText != null) {
lineText = lnr.readLine();
if (lineText != null) {
if (lineText.contains("PERFORMANCE MEASUREMENT")) {
s = lineText.toString();
String delims = "PERFORMANCE MEASUREMENT ::";
String[] tokens = s.split(delims);
System.out.println(tokens[1]);
}
}
}
splitted into
BEFORE OOE RESERVE GROUP MEMBER Info >>>> Fri Apr 03 10:16:47 ICT
2009>
AFTER OOE RESERVE GROUP MEMBER Info >>>> Fri Apr 03 10:16:48 ICT 2009>
how can i further split into
1) BEFORE
2) OOE RESERVE GROUP MEMBER Info and 3) Fri Apr 03 10:16:47 ICT 2009
Thanks in advance
Regards
Raj