API Overview API Index Package Overview Direct link to this page
JDK 1.6
  java.util.logging. Handler View Source
Author(s)
Since
1.4
Version
1.21, 04/07/06
Serial
Hierarchy
 Object
      Handler
Implements
Subclasses
Description
publicabstract abstract class Handler
  A Handler object takes log messages from a Logger and exports them.
See also:   
Constructors
protected Handler ()
  Default constructor.
Methods
Hide/Show inherited methods
pack-private void checkAccess () throws SecurityException
publicabstract void close () throws SecurityException
  Close the Handler and free all associated resources.
publicabstract void flush ()
Flush any buffered output.
public String getEncoding ()
  Return the character encoding for this Handler.
public ErrorManager getErrorManager ()
  Retrieves the ErrorManager for this Handler.
public Filter getFilter ()
  Get the current Filter for this Handler.
public Formatter getFormatter ()
  Return the Formatter for this Handler.
publicsynchronized Level getLevel ()
  Get the log level specifying which messages will be logged by this Handler.
public boolean isLoggable (LogRecord record)
  Check if this Handler would actually log a given LogRecord.
publicabstract void publish (LogRecord record)
  Publish a LogRecord.
protected void reportError (String msg, Exception ex, int code)
  Protected convenience method to report an error to this Handler's ErrorManager.
public void setEncoding (String encoding) throws SecurityException UnsupportedEncodingException
  Set the character encoding used by this Handler.
public void setErrorManager (ErrorManager em)
  Define an ErrorManager for this Handler.
public void setFilter (Filter newFilter) throws SecurityException
  Set a Filter to control output on this Handler.
public void setFormatter (Formatter newFormatter) throws SecurityException
  Set a Formatter.
publicsynchronized void setLevel (Level newLevel) throws SecurityException
  Set the log level specifying which message levels will be logged by this Handler.
Fields
Hide/Show inherited fields
pack-private boolean sealed
Nested Classes
Generated By: JavaOnTracks Doclet 0.1.4     ©Thibaut Colar