net.sf.logdistiller
Class LogType

java.lang.Object
  extended by net.sf.logdistiller.LogType
Direct Known Subclasses:
LogType.Basic

public abstract class LogType
extends Object

Base class for log type implementation. A log type identifies the log format, which can be customized depending on parameter's values. When defining a new log type, newDescription(Map params) method has to be implemented to define and handle log type's parameters.

See Also:
LogType.Basic, LogType.Description, LogTypes

Nested Class Summary
static class LogType.AttributeInfo
           
static class LogType.Basic
          Basic logtype definition that does not provide any parameters for customization.
static class LogType.Description
          Description of a log format corresponding to a log type.
 
Constructor Summary
protected LogType(String id)
           
 
Method Summary
 String getId()
           
abstract  LogType.Description newDescription(Map params)
          Create a new log description customized with parameters.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LogType

protected LogType(String id)
Method Detail

newDescription

public abstract LogType.Description newDescription(Map params)
Create a new log description customized with parameters.

Parameters:
params - the parameters to customize the log type definition

getId

public String getId()


Copyright © 2004-2009. All Rights Reserved.