Package ghidra.framework.store.local
Interface FileChangeListener
public interface FileChangeListener
Defines a file change listener interface.
-
Method Summary
Modifier and TypeMethodDescriptionvoid
fileModified
(File file) Used to notify a listener that the specified file has been modified.void
fileRemoved
(File file) Used to notify a listener that the specified file has been removed.
-
Method Details
-
fileModified
Used to notify a listener that the specified file has been modified. If the file watcher was created with a lock file, the lock will be set on behalf of the caller. This method should not attempt to alter the lock.- Parameters:
file
- the modified file.
-
fileRemoved
Used to notify a listener that the specified file has been removed. If the file watcher was created with a lock file, the lock will be set on behalf of the caller. This method should not attempt to alter the lock.- Parameters:
file
- the removed file.
-