net.sourceforge.pebble.logging
Class CombinedFormatLogEntryFormat

java.lang.Object
  extended by net.sourceforge.pebble.logging.CombinedFormatLogEntryFormat

public class CombinedFormatLogEntryFormat
extends java.lang.Object

Represents a log entry in the combined log file format.

Author:
Simon Brown

Constructor Summary
CombinedFormatLogEntryFormat(Blog blog)
          Default, no args constructor.
 
Method Summary
 java.lang.String format(LogEntry entry)
          Formats a given entry into the combined log file format.
 LogEntry parse(java.lang.String s)
          Parses a string in the combined log file format into a log entry.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CombinedFormatLogEntryFormat

public CombinedFormatLogEntryFormat(Blog blog)
Default, no args constructor.

Method Detail

format

public java.lang.String format(LogEntry entry)
Formats a given entry into the combined log file format.

Parameters:
entry - a log entry
Returns:
a formatted String

parse

public LogEntry parse(java.lang.String s)
Parses a string in the combined log file format into a log entry.

Parameters:
s - the String to parse
Returns:
a LogEntry instance


Copyright © 2003-2006, Simon Brown. All Rights Reserved.