org.jcoderz.commons.logging
Class LogFileEntry

java.lang.Object
  extended by org.jcoderz.commons.logging.LogItem
      extended by org.jcoderz.commons.logging.LogFileEntry

public class LogFileEntry
extends LogItem

This class encapsulates the information of a log record being read from the log file. Note: This is not thread safe, one instance of this must not be used by several threads in parallel.


Field Summary
 
Fields inherited from class org.jcoderz.commons.logging.LogItem
INTERNAL_PARAMETER_PREFIX
 
Constructor Summary
protected LogFileEntry()
           
 
Method Summary
 void reset()
          Used for resetting this to an initial state so that this object could be reused again.
 
Methods inherited from class org.jcoderz.commons.logging.LogItem
addToParameters, appendMessageLine, getBusinessImpact, getCategory, getInstanceId, getLoggerLevel, getMessage, getNestedItem, getNodeId, getParameterNames, getParameterValues, getParentItem, getSolution, getSourceClass, getSourceMethod, getStackTraceLines, getSymbol, getSymbolId, getThreadId, getThreadName, getTimestamp, getTrackingNumber, getType, isExceptionItem, setBusinessImpact, setCategory, setInstanceId, setLoggerLevel, setMessage, setNestedItem, setNodeId, setParentItem, setSolution, setSourceClass, setSourceMethod, setSymbol, setSymbolId, setThreadId, setThreadName, setTimestamp, setTrackingNumber, setType
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LogFileEntry

protected LogFileEntry()
Method Detail

reset

public void reset()
           throws LoggingException
Used for resetting this to an initial state so that this object could be reused again. Releases the nested entry, if there is such.

Overrides:
reset in class LogItem
Throws:
LoggingException - if an error occurs.


Copyright 2007 The jCoderZ Project.