|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.logAnalyzer.analysis.LAAnalyzer
net.logAnalyzer.analysis.LAPeriodicAnalyzer
This class defines a template for log analyzers with a date key. A log
analyzer analysis a messageLabel and generate an LAAnalysis
. a period is
used to normalize keys dates.
Constructor Summary | |
LAPeriodicAnalyzer(AnalyzerDefinition definition,
LATimePeriod period)
Construct a new analyzer from an analyzer definition. |
Method Summary | |
LATimePeriod |
getPeriod()
Return the time period used to normalize the keys. |
java.util.Date |
normalizeDate(java.util.Date date)
Normalize a date using the period. |
java.lang.String |
normalizeToString(java.util.Date date)
Normalize a date using the period.. |
Methods inherited from class net.logAnalyzer.analysis.LAAnalyzer |
analyze, analyzeMessage, canAnalyze, getAnalysis, getDateFormat, getLabel, getName, getPercentFormat, init, initAnalyze, release, releaseAnalyze, setAnalysis, skipMessage |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public LAPeriodicAnalyzer(AnalyzerDefinition definition, LATimePeriod period)
definition
- Definition of the analyzer.period
- Time period.Method Detail |
public final LATimePeriod getPeriod()
public final java.util.Date normalizeDate(java.util.Date date)
date
- Date to normalize.
public final java.lang.String normalizeToString(java.util.Date date)
date
- Date to normalize.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |