imx.loggui.formatter
Class SimpleFormatter

java.lang.Object
  extended by java.util.logging.Formatter
      extended by java.util.logging.SimpleFormatter
          extended by imx.loggui.formatter.SimpleFormatter
All Implemented Interfaces:
NameInterface, java.io.Serializable

public class SimpleFormatter
extends java.util.logging.SimpleFormatter
implements java.io.Serializable, NameInterface

Extends the default formatter with NameInterface and serialization. It also forces SimpleFormatter to be a singleton. (There is simply not enough functionality to have more than one instance :-).

See Also:
Serialized Form

Method Summary
 java.lang.String getName()
           
static SimpleFormatter getSingleton()
           
 void setName(java.lang.String name)
           
 java.lang.String toString()
           
 
Methods inherited from class java.util.logging.SimpleFormatter
format
 
Methods inherited from class java.util.logging.Formatter
formatMessage, getHead, getTail
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Method Detail

getSingleton

public static SimpleFormatter getSingleton()

setName

public void setName(java.lang.String name)
Specified by:
setName in interface NameInterface

getName

public java.lang.String getName()
Specified by:
getName in interface NameInterface

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object