org.bibalex.daf.handlers.filehandler
Class ConsoleFileHandlerObserver

java.lang.Object
  extended by org.bibalex.daf.handlers.filehandler.FileHandlerObserver
      extended by org.bibalex.daf.handlers.filehandler.ConsoleFileHandlerObserver
All Implemented Interfaces:
java.util.Observer

public class ConsoleFileHandlerObserver
extends FileHandlerObserver

This is a File Handler Console Observer,

Author:
fadi.edward

Constructor Summary
ConsoleFileHandlerObserver()
           
 
Method Summary
 void update(java.util.Observable o, FileHandlerObservedObject fileHandlerObservedObject)
          Prints into the console, the file handling actions, whatever the operation.
 
Methods inherited from class org.bibalex.daf.handlers.filehandler.FileHandlerObserver
update
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ConsoleFileHandlerObserver

public ConsoleFileHandlerObserver()
Method Detail

update

public void update(java.util.Observable o,
                   FileHandlerObservedObject fileHandlerObservedObject)
Prints into the console, the file handling actions, whatever the operation.

Specified by:
update in class FileHandlerObserver
Parameters:
o - Observable object, used if this observer is used for more than one observable.
fileHandlerObservedObject - the argument passed from the FileHandler to the observer, contains the Operation, the local and remote paths.