
Jpatchwatch is a java library for monitoring directories for changes. it uses the native os functions to achieve this, avoiding polling.
the following events on a directory can be monitored:
* file creation and deletion
* file modification
* file renaming
* changes in subdirectories (recursive monitoring)
* invalidation (a watched directory becomes unavailable)