org.owasp.webscarab.util.swing
Class DocumentHandler

java.lang.Object
  extended by java.util.logging.Handler
      extended by org.owasp.webscarab.util.swing.DocumentHandler

public class DocumentHandler
extends java.util.logging.Handler

Author:
knoppix

Constructor Summary
DocumentHandler()
          Creates a new instance of DocumentHandler
DocumentHandler(int limit)
           
 
Method Summary
 void close()
           
 void flush()
           
 javax.swing.text.Document getDocument()
           
 void publish(java.util.logging.LogRecord record)
           
 
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
 

Constructor Detail

DocumentHandler

public DocumentHandler()
Creates a new instance of DocumentHandler


DocumentHandler

public DocumentHandler(int limit)
Method Detail

getDocument

public javax.swing.text.Document getDocument()

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

publish

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