Class FileWatcher

java.lang.Object
com.codingchili.core.files.FileWatcher

public class FileWatcher extends Object
Watches changes to files in a registered directory and all its subdirectories.
  • Field Details

  • Method Details

    • builder

      public static FileWatcherBuilder builder(CoreContext core)
      Creates a new file watcher builder.
      Parameters:
      core - the core context to run on.
      Returns:
      a new builder instance.
    • stop

      public void stop()
      Stops the filewatcher.