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 FileHandler

java.lang.Object
  extended by oracle.adfnmc.java.util.logging.Handler
      extended by oracle.adfnmc.java.util.logging.StreamHandler
          extended by oracle.adfnmc.java.util.logging.FileHandler

public class FileHandler
extends StreamHandler


Field Summary
static java.lang.String DEFAULT_LOGFILENAME
           
static java.lang.String GETDEFAULTLOGFILEPATH_METHOD
           
 
Fields inherited from class oracle.adfnmc.java.util.logging.Handler
prefix
 
Constructor Summary
FileHandler()
           
 
Method Summary
 void close()
          Closes this handler.
 void publish(LogRecord record)
          Accepts an actual logging request.
protected  void setPrefix(java.lang.String prefix)
           
 
Methods inherited from class oracle.adfnmc.java.util.logging.StreamHandler
flush, isLoggable, setEncoding, setOutputStream
 
Methods inherited from class oracle.adfnmc.java.util.logging.Handler
getEncoding, getErrorManager, getFilter, getFormatter, getLevel, reportError, setErrorManager, setFilter, setFormatter, setLevel
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DEFAULT_LOGFILENAME

public static final java.lang.String DEFAULT_LOGFILENAME
See Also:
Constant Field Values

GETDEFAULTLOGFILEPATH_METHOD

public static final java.lang.String GETDEFAULTLOGFILEPATH_METHOD
See Also:
Constant Field Values
Constructor Detail

FileHandler

public FileHandler()
Method Detail

setPrefix

protected void setPrefix(java.lang.String prefix)
Overrides:
setPrefix in class Handler

close

public void close()
Description copied from class: StreamHandler
Closes this handler. The tail string of the formatter associated with this handler will be written out. A flush operation a subsequent close operation will then be performed upon the outputstream. Client applications should not use a handler after closing it.

Overrides:
close in class StreamHandler

publish

public void publish(LogRecord record)
Description copied from class: StreamHandler
Accepts an actual logging request. The log record will be formatted and written to the output stream if the following three conditions are met: If it is the first time a log record need to be written out, the head string of the formatter associated with this handler will be written out first.

Overrides:
publish in class StreamHandler
Parameters:
record - the log record to be logged

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.