Interface FileWatcherCallback


public interface FileWatcherCallback
A callback that is invoked whenever a path has changed.
  • Method Details

    • pathChanged

      void pathChanged(FileWatcherCallback.Type type, String path)
      The given path has changed. See notes on the FileWatcher implementation 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. For FileWatcherCallback.Type.UNKNOWN it can be null.