Package com.codingchili.core.files
Interface FileStoreListener
- All Known Implementing Classes:
CachedFileStore
public interface FileStoreListener
Interface to be used with a FileWatcher to be notified of changes.
-
Method Summary
Modifier and TypeMethodDescriptiondefault void
onFileModify(Path path)
Triggered when a file on the registered path has been modified or created.default void
onFileRemove(Path path)
Triggered when a file on the registered path has been deleted.
-
Method Details
-
onFileModify
Triggered when a file on the registered path has been modified or created.- Parameters:
path
- the basedir-relative path to the file that was modified.
-
onFileRemove
Triggered when a file on the registered path has been deleted.- Parameters:
path
- the basedir-relative path to the file that was modified.
-