com.sun.idm.logging.audit
Class UlfFormatter

java.lang.Object
  extended bycom.sun.idm.logging.audit.UlfFormatter
All Implemented Interfaces:
AuditRecordFormatter, TextFormatter

public class UlfFormatter
extends java.lang.Object
implements AuditRecordFormatter

This class formats audit events according to the Uniform Logging Format specification used by the Sun Java System Application Server.


Field Summary
static java.lang.String CLASS
           
static java.lang.String code_id
           
 
Constructor Summary
UlfFormatter()
           
 
Method Summary
 java.lang.String format(java.util.Map record)
          Convert a log record to text.
 java.lang.String getDisplayName()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

code_id

public static final java.lang.String code_id
See Also:
Constant Field Values

CLASS

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

UlfFormatter

public UlfFormatter()
Method Detail

getDisplayName

public java.lang.String getDisplayName()
Specified by:
getDisplayName in interface AuditRecordFormatter
Returns:
the display name string (or the message catalog key to the display name string) of the formatter implementation

format

public java.lang.String format(java.util.Map record)
Description copied from interface: TextFormatter
Convert a log record to text.

Specified by:
format in interface TextFormatter
Parameters:
record - - the record to convert
Returns:
a String containing the text representation of the record.