Interface FileWatcher.Watcher

  • All Superinterfaces:
    FileWatcher.Listener
    Enclosing class:
    FileWatcher
    Functional Interface:
    This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

    @Deprecated
    @FunctionalInterface
    public static interface FileWatcher.Watcher
    extends FileWatcher.Listener
    Deprecated.
    • Method Detail

      • onFileUpdate

        void onFileUpdate​(java.io.File file)
        Deprecated.
      • onPathUpdate

        default void onPathUpdate​(java.nio.file.Path path)
        Deprecated.
        Description copied from interface: FileWatcher.Listener
        Called when the requested file path is updated.
        Specified by:
        onPathUpdate in interface FileWatcher.Listener
        Parameters:
        path - Path to the file updated.