com.jalios.jcms.stat
Class RawExportStatListener

java.lang.Object
  extended by com.jalios.jcms.stat.RawExportStatListener
All Implemented Interfaces:
StatListener

public class RawExportStatListener
extends Object
implements StatListener


Field Summary
static String REVISION
           
 
Fields inherited from interface com.jalios.jcms.stat.StatListener
ALL_WORKSPACE, TRUNCATE
 
Constructor Summary
RawExportStatListener(RawDataExportHandler driver)
           
 
Method Summary
protected  LinkedList<String> getDataNames()
          Returns the array of data names (and also additionnal columns @see RawDataExportHandler.duplicateHeader(String, Class) )
 String getName()
          Return the distinguish name of the listener
 void handleEndOfStatEntries()
          Called when parsing is finished and then no more line will be send
 void handleStartDocument()
          handle start document event
 boolean handleStatEntry(StatEntry entry)
          Handle a line of Log
 void init(PortletStat portlet, PortalElement report)
          Init the Portlet attributs
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

REVISION

public static final String REVISION
See Also:
Constant Field Values
Constructor Detail

RawExportStatListener

public RawExportStatListener(RawDataExportHandler driver)
Method Detail

getName

public String getName()
Description copied from interface: StatListener
Return the distinguish name of the listener

Specified by:
getName in interface StatListener
Returns:
String

handleEndOfStatEntries

public 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

getDataNames

protected LinkedList<String> getDataNames()
Returns the array of data names (and also additionnal columns @see RawDataExportHandler.duplicateHeader(String, Class) )

Returns:
the array of String with data names

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

init

public void init(PortletStat portlet,
                 PortalElement report)
Description copied from interface: StatListener
Init the Portlet attributs

Specified by:
init in interface StatListener

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.