com.jalios.jcms.stat.listener
Class AbstractStatListener
java.lang.Object
com.jalios.jcms.stat.listener.AbstractStatListener
- All Implemented Interfaces:
- StatListener
- Direct Known Subclasses:
- AbstractStatFieldListener
public abstract class AbstractStatListener
- extends Object
- implements StatListener
REVISION
public static final String REVISION
- See Also:
- Constant Field Values
ALL_AREA
public static final String ALL_AREA
ADMIN_AREA
public static final String ADMIN_AREA
- See Also:
- Constant Field Values
WORK_AREA
public static final String WORK_AREA
- See Also:
- Constant Field Values
PUBLIC_AREA
public static final String PUBLIC_AREA
- See Also:
- Constant Field Values
FEED_AREA
public static final String FEED_AREA
- See Also:
- Constant Field Values
name
protected String name
display
protected String display
regexpFilter
protected boolean regexpFilter
displayAverage
protected boolean displayAverage
displayTimeChart
protected boolean displayTimeChart
displayWeekChart
protected boolean displayWeekChart
filteredZone
protected String filteredZone
portlet
protected PortletStat portlet
report
protected PortalElement report
channel
protected Channel channel
AbstractStatListener
public AbstractStatListener()
init
public void init(PortletStat portlet,
PortalElement report)
- Description copied from interface:
StatListener
- Init the Portlet attributs
- Specified by:
init
in interface StatListener
- See Also:
StatListener.init(PortletStat, PortalElement)
handleStatEntry
public boolean handleStatEntry(StatEntry entry)
- Description copied from interface:
StatListener
- Handle a line of Log
- Specified by:
handleStatEntry
in interface StatListener
- Returns:
- true if line is handle
- See Also:
StatListener.handleStatEntry(StatEntry)
handleEndOfStatEntries
public abstract void handleEndOfStatEntries()
- Description copied from interface:
StatListener
- Called when parsing is finished and then no more line will be send
- Specified by:
handleEndOfStatEntries
in interface StatListener
- See Also:
StatListener.handleEndOfStatEntries()
getName
public String getName()
- Description copied from interface:
StatListener
- Return the distinguish name of the listener
- Specified by:
getName
in interface StatListener
- Returns:
- String
- See Also:
StatListener.getName()
isFiltered
protected boolean isFiltered(StatEntry entry)
toString
public String toString()
- Overrides:
toString
in class Object
getZone
public String getZone()
setZone
public void setZone(String zone)
getPortlet
public PortletStat getPortlet()
setPortlet
public void setPortlet(PortletStat portlet)
getDisplay
public String getDisplay()
setDisplay
public void setDisplay(String display)
handleStartDocument
public void handleStartDocument()
- Description copied from interface:
StatListener
- handle start document event
- Specified by:
handleStartDocument
in interface StatListener
Copyright © 2001-2010 Jalios SA. All Rights Reserved.