Oracle Fusion Middleware Java API Reference for Oracle ADF Mobile Client
11g Release 1 (11.1.1)

E17503-02

oracle.adfnmc.java.util.logging
Class SimpleFormatter

java.lang.Object
  extended by oracle.adfnmc.java.util.logging.Formatter
      extended by oracle.adfnmc.java.util.logging.SimpleFormatter

public class SimpleFormatter
extends Formatter

SimpleFormatter can be used to print a summary of the information contained in a LogRecord object in a human readable format.


Constructor Summary
SimpleFormatter()
          Constructs a SimpleFormatter object.
 
Method Summary
 java.lang.String format(LogRecord r)
          Formats a LogRecord object into a string representation.
 
Methods inherited from class oracle.adfnmc.java.util.logging.Formatter
formatMessage, getHead, getTail
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SimpleFormatter

public SimpleFormatter()
Constructs a SimpleFormatter object.

Method Detail

format

public java.lang.String format(LogRecord r)
Description copied from class: Formatter
Formats a LogRecord object into a string representation. The resulted string is usually localized and includes the message field of the supplied LogRecord object.

Specified by:
format in class Formatter
Parameters:
r - the log record to be formatted into a string
Returns:
the string resulted from the formatting

Oracle Fusion Middleware Java API Reference for Oracle ADF Mobile Client
11g Release 1 (11.1.1)

E17503-02

Copyright © 2011, Oracle and/or its affiliates. All rights reserved.