Package net.rubygrapefruit.platform.file
Interface FileWatcherCallback
public interface FileWatcherCallback
A callback that is invoked whenever a path has changed.
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionvoidpathChanged(FileWatcherCallback.Type type, String path) The given path has changed.
-
Method Details
-
pathChanged
The given path has changed. See notes on theFileWatcherimplementation for:- whether calls to this method can be expected from a single thread or multiple different ones,
- how actual events are reported.
- Parameters:
type- the type of the change.path- the path of the change. ForFileWatcherCallback.Type.UNKNOWNit can benull.
-