Subversion Repositories SmartDukaan

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
5827 amar.kumar 1
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
2
<!--NewPage-->
3
<HTML>
4
<HEAD>
5
<!-- Generated by javadoc (build 1.6.0_26) on Fri Aug 17 13:40:06 IST 2012 -->
6
<TITLE>
7
LogInterceptor (stat4j API)
8
</TITLE>
9
 
10
<META NAME="date" CONTENT="2012-08-17">
11
 
12
<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../stylesheet.css" TITLE="Style">
13
 
14
<SCRIPT type="text/javascript">
15
function windowTitle()
16
{
17
    if (location.href.indexOf('is-external=true') == -1) {
18
        parent.document.title="LogInterceptor (stat4j API)";
19
    }
20
}
21
</SCRIPT>
22
<NOSCRIPT>
23
</NOSCRIPT>
24
 
25
</HEAD>
26
 
27
<BODY BGCOLOR="white" onload="windowTitle();">
28
<HR>
29
 
30
 
31
<!-- ========= START OF TOP NAVBAR ======= -->
32
<A NAME="navbar_top"><!-- --></A>
33
<A HREF="#skip-navbar_top" title="Skip navigation links"></A>
34
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
35
<TR>
36
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
37
<A NAME="navbar_top_firstrow"><!-- --></A>
38
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
39
  <TR ALIGN="center" VALIGN="top">
40
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
41
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
42
  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
43
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="class-use/LogInterceptor.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
44
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
45
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
46
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
47
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
48
  </TR>
49
</TABLE>
50
</TD>
51
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
52
</EM>
53
</TD>
54
</TR>
55
 
56
<TR>
57
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
58
&nbsp;<A HREF="../../../../net/sourceforge/stat4j/filter/FilterStatisticMap.html" title="class in net.sourceforge.stat4j.filter"><B>PREV CLASS</B></A>&nbsp;
59
&nbsp;<A HREF="../../../../net/sourceforge/stat4j/filter/MetricCollector.html" title="class in net.sourceforge.stat4j.filter"><B>NEXT CLASS</B></A></FONT></TD>
60
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
61
  <A HREF="../../../../index.html?net/sourceforge/stat4j/filter/LogInterceptor.html" target="_top"><B>FRAMES</B></A>  &nbsp;
62
&nbsp;<A HREF="LogInterceptor.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;
63
&nbsp;<SCRIPT type="text/javascript">
64
  <!--
65
  if(window==top) {
66
    document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>');
67
  }
68
  //-->
69
</SCRIPT>
70
<NOSCRIPT>
71
  <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>
72
</NOSCRIPT>
73
 
74
 
75
</FONT></TD>
76
</TR>
77
<TR>
78
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
79
  SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;<A HREF="#field_summary">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
80
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
81
DETAIL:&nbsp;<A HREF="#field_detail">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
82
</TR>
83
</TABLE>
84
<A NAME="skip-navbar_top"></A>
85
<!-- ========= END OF TOP NAVBAR ========= -->
86
 
87
<HR>
88
<!-- ======== START OF CLASS DATA ======== -->
89
<H2>
90
<FONT SIZE="-1">
91
net.sourceforge.stat4j.filter</FONT>
92
<BR>
93
Class LogInterceptor</H2>
94
<PRE>
95
java.lang.Object
96
  <IMG SRC="../../../../resources/inherit.gif" ALT="extended by "><B>net.sourceforge.stat4j.filter.LogInterceptor</B>
97
</PRE>
98
<HR>
99
<DL>
100
<DT><PRE>public class <B>LogInterceptor</B><DT>extends java.lang.Object</DL>
101
</PRE>
102
 
103
<P>
104
<HR>
105
 
106
<P>
107
<!-- =========== FIELD SUMMARY =========== -->
108
 
109
<A NAME="field_summary"><!-- --></A>
110
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
111
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
112
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
113
<B>Field Summary</B></FONT></TH>
114
</TR>
115
<TR BGCOLOR="white" CLASS="TableRowColor">
116
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
117
<CODE>private static&nbsp;java.util.Map&lt;java.lang.String,<A HREF="../../../../net/sourceforge/stat4j/filter/FilteredLogEvent.html" title="class in net.sourceforge.stat4j.filter">FilteredLogEvent</A>&gt;</CODE></FONT></TD>
118
<TD><CODE><B><A HREF="../../../../net/sourceforge/stat4j/filter/LogInterceptor.html#eventsToBeDiscardedForCalc">eventsToBeDiscardedForCalc</A></B></CODE>
119
 
120
<BR>
121
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
122
</TR>
123
<TR BGCOLOR="white" CLASS="TableRowColor">
124
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
125
<CODE>private static&nbsp;java.util.List&lt;java.lang.String&gt;</CODE></FONT></TD>
126
<TD><CODE><B><A HREF="../../../../net/sourceforge/stat4j/filter/LogInterceptor.html#logRegexList">logRegexList</A></B></CODE>
127
 
128
<BR>
129
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
130
</TR>
131
</TABLE>
132
&nbsp;
133
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
134
 
135
<A NAME="constructor_summary"><!-- --></A>
136
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
137
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
138
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
139
<B>Constructor Summary</B></FONT></TH>
140
</TR>
141
<TR BGCOLOR="white" CLASS="TableRowColor">
142
<TD><CODE><B><A HREF="../../../../net/sourceforge/stat4j/filter/LogInterceptor.html#LogInterceptor()">LogInterceptor</A></B>()</CODE>
143
 
144
<BR>
145
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
146
</TR>
147
</TABLE>
148
&nbsp;
149
<!-- ========== METHOD SUMMARY =========== -->
150
 
151
<A NAME="method_summary"><!-- --></A>
152
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
153
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
154
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
155
<B>Method Summary</B></FONT></TH>
156
</TR>
157
<TR BGCOLOR="white" CLASS="TableRowColor">
158
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
159
<CODE>static&nbsp;void</CODE></FONT></TD>
160
<TD><CODE><B><A HREF="../../../../net/sourceforge/stat4j/filter/LogInterceptor.html#main(java.lang.String[])">main</A></B>(java.lang.String[]&nbsp;args)</CODE>
161
 
162
<BR>
163
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
164
</TR>
165
<TR BGCOLOR="white" CLASS="TableRowColor">
166
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
167
<CODE>private static&nbsp;void</CODE></FONT></TD>
168
<TD><CODE><B><A HREF="../../../../net/sourceforge/stat4j/filter/LogInterceptor.html#processConfigParams()">processConfigParams</A></B>()</CODE>
169
 
170
<BR>
171
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
172
</TR>
173
<TR BGCOLOR="white" CLASS="TableRowColor">
174
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
175
<CODE>static&nbsp;boolean</CODE></FONT></TD>
176
<TD><CODE><B><A HREF="../../../../net/sourceforge/stat4j/filter/LogInterceptor.html#shouldProcessLog(java.lang.String)">shouldProcessLog</A></B>(java.lang.String&nbsp;logMessage)</CODE>
177
 
178
<BR>
179
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
180
</TR>
181
</TABLE>
182
&nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
183
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
184
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
185
<TH ALIGN="left"><B>Methods inherited from class java.lang.Object</B></TH>
186
</TR>
187
<TR BGCOLOR="white" CLASS="TableRowColor">
188
<TD><CODE>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</CODE></TD>
189
</TR>
190
</TABLE>
191
&nbsp;
192
<P>
193
 
194
<!-- ============ FIELD DETAIL =========== -->
195
 
196
<A NAME="field_detail"><!-- --></A>
197
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
198
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
199
<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
200
<B>Field Detail</B></FONT></TH>
201
</TR>
202
</TABLE>
203
 
204
<A NAME="eventsToBeDiscardedForCalc"><!-- --></A><H3>
205
eventsToBeDiscardedForCalc</H3>
206
<PRE>
207
private static java.util.Map&lt;java.lang.String,<A HREF="../../../../net/sourceforge/stat4j/filter/FilteredLogEvent.html" title="class in net.sourceforge.stat4j.filter">FilteredLogEvent</A>&gt; <B>eventsToBeDiscardedForCalc</B></PRE>
208
<DL>
209
<DL>
210
</DL>
211
</DL>
212
<HR>
213
 
214
<A NAME="logRegexList"><!-- --></A><H3>
215
logRegexList</H3>
216
<PRE>
217
private static java.util.List&lt;java.lang.String&gt; <B>logRegexList</B></PRE>
218
<DL>
219
<DL>
220
</DL>
221
</DL>
222
 
223
<!-- ========= CONSTRUCTOR DETAIL ======== -->
224
 
225
<A NAME="constructor_detail"><!-- --></A>
226
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
227
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
228
<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
229
<B>Constructor Detail</B></FONT></TH>
230
</TR>
231
</TABLE>
232
 
233
<A NAME="LogInterceptor()"><!-- --></A><H3>
234
LogInterceptor</H3>
235
<PRE>
236
public <B>LogInterceptor</B>()</PRE>
237
<DL>
238
</DL>
239
 
240
<!-- ============ METHOD DETAIL ========== -->
241
 
242
<A NAME="method_detail"><!-- --></A>
243
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
244
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
245
<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
246
<B>Method Detail</B></FONT></TH>
247
</TR>
248
</TABLE>
249
 
250
<A NAME="shouldProcessLog(java.lang.String)"><!-- --></A><H3>
251
shouldProcessLog</H3>
252
<PRE>
253
public static boolean <B>shouldProcessLog</B>(java.lang.String&nbsp;logMessage)</PRE>
254
<DL>
255
<DD><DL>
256
</DL>
257
</DD>
258
</DL>
259
<HR>
260
 
261
<A NAME="processConfigParams()"><!-- --></A><H3>
262
processConfigParams</H3>
263
<PRE>
264
private static void <B>processConfigParams</B>()</PRE>
265
<DL>
266
<DD><DL>
267
</DL>
268
</DD>
269
</DL>
270
<HR>
271
 
272
<A NAME="main(java.lang.String[])"><!-- --></A><H3>
273
main</H3>
274
<PRE>
275
public static void <B>main</B>(java.lang.String[]&nbsp;args)</PRE>
276
<DL>
277
<DD><DL>
278
</DL>
279
</DD>
280
</DL>
281
<!-- ========= END OF CLASS DATA ========= -->
282
<HR>
283
 
284
 
285
<!-- ======= START OF BOTTOM NAVBAR ====== -->
286
<A NAME="navbar_bottom"><!-- --></A>
287
<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
288
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
289
<TR>
290
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
291
<A NAME="navbar_bottom_firstrow"><!-- --></A>
292
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
293
  <TR ALIGN="center" VALIGN="top">
294
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
295
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
296
  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
297
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="class-use/LogInterceptor.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
298
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
299
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
300
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
301
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
302
  </TR>
303
</TABLE>
304
</TD>
305
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
306
</EM>
307
</TD>
308
</TR>
309
 
310
<TR>
311
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
312
&nbsp;<A HREF="../../../../net/sourceforge/stat4j/filter/FilterStatisticMap.html" title="class in net.sourceforge.stat4j.filter"><B>PREV CLASS</B></A>&nbsp;
313
&nbsp;<A HREF="../../../../net/sourceforge/stat4j/filter/MetricCollector.html" title="class in net.sourceforge.stat4j.filter"><B>NEXT CLASS</B></A></FONT></TD>
314
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
315
  <A HREF="../../../../index.html?net/sourceforge/stat4j/filter/LogInterceptor.html" target="_top"><B>FRAMES</B></A>  &nbsp;
316
&nbsp;<A HREF="LogInterceptor.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;
317
&nbsp;<SCRIPT type="text/javascript">
318
  <!--
319
  if(window==top) {
320
    document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>');
321
  }
322
  //-->
323
</SCRIPT>
324
<NOSCRIPT>
325
  <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>
326
</NOSCRIPT>
327
 
328
 
329
</FONT></TD>
330
</TR>
331
<TR>
332
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
333
  SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;<A HREF="#field_summary">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
334
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
335
DETAIL:&nbsp;<A HREF="#field_detail">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
336
</TR>
337
</TABLE>
338
<A NAME="skip-navbar_bottom"></A>
339
<!-- ======== END OF BOTTOM NAVBAR ======= -->
340
 
341
<HR>
342
 
343
</BODY>
344
</HTML>