com.netscape.cms.logging
Class LogEntry

java.lang.Object
  extended by com.netscape.cms.logging.LogEntry

public class LogEntry
extends java.lang.Object

A log entry of LogFile

Version:
$Revision: 1211 $, $Date: 2010-08-18 10:15:37 -0700 (Wed, 18 Aug 2010) $

Constructor Summary
LogEntry(java.lang.String entry)
          Constructor for a LogEntry.
 
Method Summary
 void appendDetail(java.lang.String msg)
           
 java.lang.String getDate()
           
 java.lang.String getDetail()
           
 java.lang.String getEntry()
           
 java.lang.String getLevel()
           
 java.util.Vector getRow()
           
 java.lang.String getSource()
           
 java.lang.String getTime()
           
 java.util.Vector parse()
          parse a log entry return a vector of the segments of the entry
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LogEntry

public LogEntry(java.lang.String entry)
         throws java.text.ParseException
Constructor for a LogEntry.

Throws:
java.text.ParseException
Method Detail

parse

public java.util.Vector parse()
                       throws java.text.ParseException
parse a log entry return a vector of the segments of the entry

Throws:
java.text.ParseException

getSource

public java.lang.String getSource()

getLevel

public java.lang.String getLevel()

getDetail

public java.lang.String getDetail()

getDate

public java.lang.String getDate()

getTime

public java.lang.String getTime()

getRow

public java.util.Vector getRow()

getEntry

public java.lang.String getEntry()

appendDetail

public void appendDetail(java.lang.String msg)