JAligner

jaligner.ui.logging
Class RecordFormatter

java.lang.Object
  extended byjava.util.logging.Formatter
      extended byjaligner.ui.logging.RecordFormatter

public class RecordFormatter
extends java.util.logging.Formatter

Logging record formatter

Author:
Ahmed Moustafa (ahmed@users.sf.net)

Constructor Summary
RecordFormatter()
           
 
Method Summary
 java.lang.String format(java.util.logging.LogRecord record)
          This method is called for every log records
 java.lang.String getHead(java.util.logging.Handler handler)
          This method is called just after the handler using this formatter is created
 java.lang.String getTail(java.util.logging.Handler handler)
          This method is called just after the handler using this formatter is closed
 
Methods inherited from class java.util.logging.Formatter
formatMessage
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RecordFormatter

public RecordFormatter()
Method Detail

format

public java.lang.String format(java.util.logging.LogRecord record)
This method is called for every log records

Parameters:
record -

getHead

public java.lang.String getHead(java.util.logging.Handler handler)
This method is called just after the handler using this formatter is created

Parameters:
handler -

getTail

public java.lang.String getTail(java.util.logging.Handler handler)
This method is called just after the handler using this formatter is closed

Parameters:
handler -

JAligner

Ahmed Moustafa (ahmed@users.sf.net)SourceForge.net
The source code of JAligner is licensed under The GNU General Public License (GPL)