de.bea.domingo.monitor
Class FileMonitor

java.lang.Object
  extended by de.bea.domingo.monitor.AbstractMonitor
      extended by de.bea.domingo.monitor.AbstractDefaultMonitor
          extended by de.bea.domingo.monitor.AbstractStreamMonitor
              extended by de.bea.domingo.monitor.FileMonitor
All Implemented Interfaces:
DNotesMonitor

public class FileMonitor
extends AbstractStreamMonitor

Console monitor, logs everything to System.out.

Author:
Kurt Riede

Field Summary
 
Fields inherited from class de.bea.domingo.monitor.AbstractMonitor
LEVELS
 
Fields inherited from interface de.bea.domingo.DNotesMonitor
DEBUG, DEFAULT_LEVEL, ERROR, FATAL, INFO, NONE, WARN
 
Constructor Summary
FileMonitor(java.io.File file)
          Constructor.
 
Method Summary
 
Methods inherited from class de.bea.domingo.monitor.AbstractStreamMonitor
monitor, monitor
 
Methods inherited from class de.bea.domingo.monitor.AbstractDefaultMonitor
debug, debug, error, error, fatalError, fatalError, info, info, warn, warn
 
Methods inherited from class de.bea.domingo.monitor.AbstractMonitor
isDebugEnabled, isErrorEnabled, isFatalErrorEnabled, isInfoEnabled, isNoMesssages, isWarnEnabled, setLevel
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FileMonitor

public FileMonitor(java.io.File file)
            throws java.io.FileNotFoundException
Constructor.

Parameters:
file - the file to be used for monitoring
Throws:
java.io.FileNotFoundException - if the file exists but is a directory rather than a regular file, does not exist but cannot be created, or cannot be opened for any other reason


Domingo Java-API