DirectoryWatcher.FileChangeListener (Grails 3.2.4)
Date: 2016-12-21

Package: org.grails.io.watch

## [Java] Interface FileChangeListener

- Interface for FileChangeListeners

- - ### Methods Summary

    Methods
    Type | Name and description
    --- | ---
    `void` | `onChange(java.io.File file)` Fired when a file changes
    `void` | `onNew(java.io.File file)` Fired when a new file is created

- - ### Method Detail

    - #### public void onChange(java.io.File file)

      Fired when a file changes

      Parameters:
        `file` - The file that changed

    - #### public void onNew(java.io.File file)

      Fired when a new file is created

      Parameters:
        `file` - The file that was created