Class FileSystemWatcher


  • public class FileSystemWatcher
    extends java.lang.Object
    • Constructor Detail

      • FileSystemWatcher

        public FileSystemWatcher​(java.lang.String[] classPath)
                          throws java.io.IOException
        Throws:
        java.io.IOException
    • Method Detail

      • dispose

        public void dispose()
                     throws java.io.IOException
        Throws:
        java.io.IOException
      • hasChanges

        public boolean hasChanges()
                           throws java.io.IOException
        Throws:
        java.io.IOException
      • waitForChange

        public void waitForChange​(int timeout)
                           throws java.lang.InterruptedException,
                                  java.io.IOException
        Throws:
        java.lang.InterruptedException
        java.io.IOException
      • grabChangedFiles

        public java.util.List<java.io.File> grabChangedFiles()