cpptools
Class FileObserverComposite

java.lang.Object
  extended by cpptools.FileObserverComposite
All Implemented Interfaces:
FileObserver

public final class FileObserverComposite
extends java.lang.Object
implements FileObserver

Provides a composite for file observers.

Author:
Mathieu Champlon

Constructor Summary
FileObserverComposite()
           
 
Method Summary
 void changed(java.lang.String filename)
          Specify the file being processed.
 void register(FileObserver observer)
          Add a file observer to the composite.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FileObserverComposite

public FileObserverComposite()
Method Detail

register

public void register(FileObserver observer)
Add a file observer to the composite.

Parameters:
observer - the observer to add

changed

public void changed(java.lang.String filename)
Specify the file being processed.

Specified by:
changed in interface FileObserver
Parameters:
filename - the name of the fle


Copyright © 2006-2007 null. All Rights Reserved.