Class FileWatcher

  • All Implemented Interfaces:
    java.lang.AutoCloseable

    public class FileWatcher
    extends java.lang.Object
    implements java.lang.AutoCloseable
    A watcher of filesystem events for registered Paths. All Paths are watched on a single watcher Thread.
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      static class  FileWatcher.Builder  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void close()  
      void start()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • start

        public void start()
      • close

        public void close()
        Specified by:
        close in interface java.lang.AutoCloseable