de.uni_leipzig.cvk.gui
Class LogPanelHandler

java.lang.Object
  extended by java.util.logging.Handler
      extended by de.uni_leipzig.cvk.gui.LogPanelHandler

public class LogPanelHandler
extends java.util.logging.Handler

The singleton LogPanelHandler class is a Handler to log to a LogPanel member instance.

 

Method Summary
 void close()
           
 void flush()
           
static LogPanel getLogPanel()
          Gets one instance of LogPanel
static LogPanelHandler instance()
          Gets the instance of LogPanelHandler
 void publish(java.util.logging.LogRecord log)
           
 
Methods inherited from class java.util.logging.Handler
getEncoding, getErrorManager, getFilter, getFormatter, getLevel, isLoggable, reportError, setEncoding, setErrorManager, setFilter, setFormatter, setLevel
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

close

public void close()
Specified by:
close in class java.util.logging.Handler

flush

public void flush()
Specified by:
flush in class java.util.logging.Handler

getLogPanel

public static LogPanel getLogPanel()
Gets one instance of LogPanel


instance

public static LogPanelHandler instance()
Gets the instance of LogPanelHandler


publish

public void publish(java.util.logging.LogRecord log)
Specified by:
publish in class java.util.logging.Handler