filesystem
Class FilesystemListener

java.lang.Object
  extended by filesystem.FilesystemListener

public abstract class FilesystemListener
extends Object

Represents the component that monitors the filesystem for changes and informs the FilesystemService about them.


Field Summary
(package private)  FilesystemService filesystemService
          Reference to the FilesystemService which it informs when files or folders have been changed.
 
Constructor Summary
FilesystemListener()
           
 
Method Summary
protected abstract  void informChange(File file)
          Informs the filesystemService about a file change (creation, modification, removal).
protected abstract  void informChange(Folder folder)
          Informs the filesystemService about a folder change (creation, removal).
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

filesystemService

FilesystemService filesystemService
Reference to the FilesystemService which it informs when files or folders have been changed. The Change objects are created by the FilesystemService.

Constructor Detail

FilesystemListener

public FilesystemListener()
Method Detail

informChange

protected abstract void informChange(File file)
Informs the filesystemService about a file change (creation, modification, removal).

Parameters:
file -

informChange

protected abstract void informChange(Folder folder)
Informs the filesystemService about a folder change (creation, removal).

Parameters:
folder -