org.apache.commons.jci.monitor
Interface FilesystemAlterationListener
- All Known Implementing Classes:
- AbstractFilesystemAlterationListener, CompilingListener, FileChangeListener, ReloadingListener
public interface FilesystemAlterationListener
A listener that receives events of filesystem modifications.
The observer basically represents the source of the events.
The file root and its state. (see FilesystemAlterationObserver)
- Author:
- tcurdt
onStart
void onStart(FilesystemAlterationObserver pObserver)
onFileCreate
void onFileCreate(File pFile)
onFileChange
void onFileChange(File pFile)
onFileDelete
void onFileDelete(File pFile)
onDirectoryCreate
void onDirectoryCreate(File pDir)
onDirectoryChange
void onDirectoryChange(File pDir)
onDirectoryDelete
void onDirectoryDelete(File pDir)
onStop
void onStop(FilesystemAlterationObserver pObserver)
Copyright © 2004–2013 The Apache Software Foundation. All rights reserved.