Class FileUpdateWatcher


  • public class FileUpdateWatcher
    extends java.lang.Object
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      static <T> java.nio.file.WatchEvent<T> cast​(java.nio.file.WatchEvent<?> event)  
      void destroy()  
      • Methods inherited from class java.lang.Object

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

      • FileUpdateWatcher

        public FileUpdateWatcher​(java.lang.String fileName,
                                 FileUpdateCallback fileUpdateCb)
                          throws java.io.IOException
        Throws:
        java.io.IOException
    • Method Detail

      • cast

        public static <T> java.nio.file.WatchEvent<T> cast​(java.nio.file.WatchEvent<?> event)
      • destroy

        public void destroy()