org.bibalex.daf.handlers.filehandler
Class FileHandlerObserver

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

public abstract class FileHandlerObserver
extends java.lang.Object
implements java.util.Observer

An abstract observer class to handle the observers for the File Copy operations.

Author:
fadi.edward

Constructor Summary
FileHandlerObserver()
           
 
Method Summary
abstract  void update(java.util.Observable o, FileHandlerObservedObject fileHandlerObservedObject)
           
 void update(java.util.Observable o, java.lang.Object arg)
          The default update method calling another one after type casting of the arg to FileHandlerObservedObject.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FileHandlerObserver

public FileHandlerObserver()
Method Detail

update

public void update(java.util.Observable o,
                   java.lang.Object arg)
The default update method calling another one after type casting of the arg to FileHandlerObservedObject.

Specified by:
update in interface java.util.Observer
Parameters:
o - Observabel object.
arg - the argument passed from the observable to the observer.

update

public abstract void update(java.util.Observable o,
                            FileHandlerObservedObject fileHandlerObservedObject)