Package net.rubygrapefruit.platform.file
Interface FileWatcherCallback
-
public interface FileWatcherCallbackA callback that is invoked whenever a path has changed.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classFileWatcherCallback.Type
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidpathChanged(FileWatcherCallback.Type type, java.lang.String path)The given path has changed.
-
-
-
Method Detail
-
pathChanged
void pathChanged(FileWatcherCallback.Type type, java.lang.String path)
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.
-
-