se.sics.tasim.logtool
Class LogHandler
java.lang.Object
se.sics.tasim.logtool.LogHandler
public abstract class LogHandler
- extends java.lang.Object
The abstract class LogHandler
should be inherited by all
implementations of log analyzers, viewers, etc, that uses the
LogManager
for the log file processing.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LogHandler
protected LogHandler()
getLogManager
protected LogManager getLogManager()
getConfig
public ConfigManager getConfig()
getTempDirectory
public java.io.File getTempDirectory(java.lang.String name)
throws java.io.IOException
- Throws:
java.io.IOException
warn
public void warn(java.lang.String warningMessage)
init
protected void init()
- Initializes the log handler.
sessionStarted
protected void sessionStarted()
sessionEnded
protected void sessionEnded()
start
protected abstract void start(LogReader reader)
throws IllegalConfigurationException,
java.io.IOException,
java.text.ParseException
- Invoked when a new log file should be processed.
- Parameters:
reader
- the log reader for the log file.
- Throws:
IllegalConfigurationException
java.io.IOException
java.text.ParseException
Copyright © 2007-2009 Association for Trading Agent Research. All Rights Reserved.