com.metamatrix.platform.security.audit.format
Class DelimitedAuditMessageFormat

java.lang.Object
  extended by com.metamatrix.platform.security.audit.format.DelimitedAuditMessageFormat
All Implemented Interfaces:
AuditMessageFormat

public class DelimitedAuditMessageFormat
extends java.lang.Object
implements AuditMessageFormat

This class formats AuditMessages using a format with delimiters that is easily parsed.


Field Summary
static java.lang.String TIMESTAMP_FORMAT
           
 
Constructor Summary
DelimitedAuditMessageFormat()
           
 
Method Summary
 java.lang.String formatMessage(AuditMessage message)
          Format the specified message and return the String representation.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

TIMESTAMP_FORMAT

public static final java.lang.String TIMESTAMP_FORMAT
See Also:
Constant Field Values
Constructor Detail

DelimitedAuditMessageFormat

public DelimitedAuditMessageFormat()
Method Detail

formatMessage

public java.lang.String formatMessage(AuditMessage message)
Format the specified message and return the String representation.

Specified by:
formatMessage in interface AuditMessageFormat
Parameters:
message - the log message to be formated.
Returns:
the String representation of the log message.


Copyright © 2009. All Rights Reserved.