TPTP 4.4.0 Monitoring Tools Project
Public API Specification

org.eclipse.hyades.logging.parsers.util
Class ApacheAccessLogFilterExit

java.lang.Object
  extended byorg.eclipse.hyades.logging.adapter.util.AbstractXPATHFilterExit
      extended byorg.eclipse.hyades.logging.parsers.util.ApacheAccessLogFilterExit
All Implemented Interfaces:
IFilterExit, ISeverityFilterExit, ITimeFilterExit

public class ApacheAccessLogFilterExit
extends AbstractXPATHFilterExit

This is a filter exit class for filtering Apache access log records. It extends org.eclipse.hyades.logging.adapter.util.AbstractXPATHFilterExit and utilizes XPATH filtering.

Since:
September 8, 2006

Constructor Summary
ApacheAccessLogFilterExit()
          ApacheAccessLogFilterExit Constructor
 
Method Summary
 short parseSeverity(java.lang.String record)
          Parse the severity of the event represented by the log record from the log record string.
 java.lang.String parseTime(java.lang.String record)
          Parse the time of the event represented by the log record from the log record string.
 
Methods inherited from class org.eclipse.hyades.logging.adapter.util.AbstractXPATHFilterExit
filter, getCommonBaseEvent, getCurrentCreationTime, getCurrentSeverity, getDay, getFilterSpecification, getLocale, getMonth, getTimezone, getULocale, getYear, isFilterOnCreationTime, isFilterOnSeverity, setCommonBaseEvent, setDay, setFilterSpecification, setLocale, setMonth, setTimezone, setULocale, setYear
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ApacheAccessLogFilterExit

public ApacheAccessLogFilterExit()
                          throws java.lang.InstantiationException
ApacheAccessLogFilterExit Constructor

Throws:
java.lang.InstantiationException - if an error occurs instantiating required objects.
Method Detail

parseSeverity

public short parseSeverity(java.lang.String record)
Description copied from interface: ISeverityFilterExit
Parse the severity of the event represented by the log record from the log record string.

Parameters:
record - Log record string
Returns:
A short value representing the severity of the event represented by the record parameter

parseTime

public java.lang.String parseTime(java.lang.String record)
Description copied from interface: ITimeFilterExit
Parse the time of the event represented by the log record from the log record string.

Parameters:
record - Log record string
Returns:
A string value representing the time of the event represented by the record parameter

TPTP 4.4.0 Monitoring Tools Project
Public API Specification