org.jppf.logging.jdk
Class JPPFFileHandler

java.lang.Object
  extended by java.util.logging.Handler
      extended by java.util.logging.StreamHandler
          extended by java.util.logging.FileHandler
              extended by org.jppf.logging.jdk.JPPFFileHandler

public class JPPFFileHandler
extends FileHandler

A handler that prints log messages using a JPPFLogFormatter instance.

Author:
Laurent Cohen

Constructor Summary
JPPFFileHandler()
          Initialize this Handler.
 
Method Summary
 Formatter getFormatter()
          
 
Methods inherited from class java.util.logging.FileHandler
close, publish
 
Methods inherited from class java.util.logging.StreamHandler
flush, isLoggable, setEncoding, setOutputStream
 
Methods inherited from class java.util.logging.Handler
getEncoding, getErrorManager, getFilter, getLevel, reportError, setErrorManager, setFilter, setFormatter, setLevel
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JPPFFileHandler

public JPPFFileHandler()
                throws IOException,
                       SecurityException
Initialize this Handler.

Throws:
IOException - if any I/O error occurs.
SecurityException - if an operation is not allowed.
Method Detail

getFormatter

public Formatter getFormatter()

Overrides:
getFormatter in class Handler


Copyright © 2005-2010 JPPF Team.