Interface FileListener

    • Method Detail

      • fileCreated

        void fileCreated​(FileChangeEvent event)
                  throws java.lang.Exception
        Called when a file is created.
        Parameters:
        event - The FileChangeEvent.
        Throws:
        java.lang.Exception - if an error occurs.
      • fileDeleted

        void fileDeleted​(FileChangeEvent event)
                  throws java.lang.Exception
        Called when a file is deleted.
        Parameters:
        event - The FileChangeEvent.
        Throws:
        java.lang.Exception - if an error occurs.
      • fileChanged

        void fileChanged​(FileChangeEvent event)
                  throws java.lang.Exception
        Called when a file is changed.

        This will only happen if you monitor the file using FileMonitor.

        Parameters:
        event - The FileChangeEvent.
        Throws:
        java.lang.Exception - if an error occurs.