public class StatDateTimeListener extends AbstractStatFieldListener
Modifier and Type | Field and Description |
---|---|
protected java.lang.String |
key |
protected java.lang.String |
pattern |
protected java.lang.String |
refine |
protected AbstractStatFieldListener |
refineListener |
protected java.lang.String |
refineListenerKey |
static java.lang.String |
REVISION |
protected java.text.SimpleDateFormat |
sdf |
protected java.util.Date |
startDate |
beautifier, handleCount, handleTime, t0
ADMIN_AREA, ALL_AREA, channel, display, displayAverage, displayTimeChart, displayWeekChart, FEED_AREA, filteredZone, name, portlet, PUBLIC_AREA, regexpFilter, report, WORK_AREA
ALL_WORKSPACE, TRUNCATE
Constructor and Description |
---|
StatDateTimeListener(java.lang.String pattern,
java.lang.String key,
java.lang.String refine) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getRefine() |
AbstractStatFieldListener |
getRefineListener() |
java.lang.String |
getRefineListenerKey() |
void |
handleEndOfStatEntries(java.util.Map workspaceMap)
Call EndOfStatEntries with given WorkspaceMap
|
protected java.util.Date |
processDate(StatEntry entry)
Get the Start Date of the StatEntry
|
void |
processEntry(StatEntry entry,
java.lang.Object workspace,
java.util.Map workspaceMap)
Process an object and store it to the workspace map
|
void |
setRefine(java.lang.String refine) |
void |
setRefineListener(AbstractStatFieldListener refineListener) |
void |
setRefineListenerKey(java.lang.String refineListenerKey) |
java.lang.String |
toString() |
boolean |
validateEntry(StatEntry entry)
Validate the Stat Entry and get the correct parameter to process later.
|
getBeautifier, getCurrentObjSet, getNanoDuration, getWorkspaceFieldMap, getWorkspaceFieldMap, getWorkspaceMap, handleEndOfStatEntries, handleStatEntry, processWorkspace, timeStart, timeStop, updateWorkspaceMap, updateWorkspaceMap, updateWorkspaceMap
getDisplay, getName, getPortlet, getZone, handleStartDocument, init, isFiltered, setDisplay, setPortlet, setZone
public static final java.lang.String REVISION
protected java.text.SimpleDateFormat sdf
protected java.lang.String pattern
protected java.lang.String key
protected java.util.Date startDate
protected java.lang.String refine
protected AbstractStatFieldListener refineListener
protected java.lang.String refineListenerKey
public StatDateTimeListener(java.lang.String pattern, java.lang.String key, java.lang.String refine)
public boolean validateEntry(StatEntry entry)
AbstractStatFieldListener
validateEntry
in class AbstractStatFieldListener
AbstractStatFieldListener.validateEntry(StatEntry)
public void handleEndOfStatEntries(java.util.Map workspaceMap)
AbstractStatFieldListener
handleEndOfStatEntries
in class AbstractStatFieldListener
AbstractStatFieldListener.handleEndOfStatEntries(Map)
public void processEntry(StatEntry entry, java.lang.Object workspace, java.util.Map workspaceMap)
AbstractStatFieldListener
processEntry
in class AbstractStatFieldListener
protected java.util.Date processDate(StatEntry entry)
entry
- public java.lang.String toString()
toString
in class AbstractStatListener
public java.lang.String getRefine()
public void setRefine(java.lang.String refine)
public AbstractStatFieldListener getRefineListener()
public void setRefineListener(AbstractStatFieldListener refineListener)
public java.lang.String getRefineListenerKey()
public void setRefineListenerKey(java.lang.String refineListenerKey)
Copyright © 2001-2010 Jalios SA. All Rights Reserved.