Class FileChangeEvent

    • Constructor Detail

      • FileChangeEvent

        public FileChangeEvent​(File file,
                               FileChangeEvent.Type type)
        Construct a new instance.
        Parameters:
        file - the file which is being watched
        type - the type of event that was encountered
    • Method Detail

      • getFile

        public File getFile()
        Get the file which was being watched.
        Returns:
        the file which was being watched