com.netscape.cms.logging
Class LogEntry
java.lang.Object
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. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LogEntry
public LogEntry(java.lang.String entry)
throws java.text.ParseException
- Constructor for a LogEntry.
- Throws:
java.text.ParseException
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)