Interface FileChangeListener

All Known Subinterfaces:
IFileChangeListener
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public interface FileChangeListener
Listener for file changes, to be used with a FileMonitor.
Since:
3.0.0 (renamed from 2.x IFileChangeListener)
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Invoked when a file changes.
  • Method Details

    • fileChanged

      void fileChanged(File file)
      Invoked when a file changes.
      Parameters:
      file - changed file.