filesystem
Class FilesystemListener
java.lang.Object
filesystem.FilesystemListener
public abstract class FilesystemListener
- extends Object
Represents the component that monitors the filesystem for changes and informs the FilesystemService about them.
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 |
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.
FilesystemListener
public FilesystemListener()
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
-