Описание тега jnotify
Library that allows Java applications to listen to file system events
Find more information at http://jnotify.sourceforge.net/
JNotify is a java library that allow java application to listen to file system events, such as:
- File created
- File modified
- File renamed
- File deleted
Supported platforms
- Windows (2000 or newer)
- Linux with INofity support (2.6.14 or newer) Linux notes
- Mac OS X (10.5 or newer) Mac OS notes
Usage example
JNotify can be tested by simply running the jar file with the followng command:
java -Djava.library.path=. -jar jnotify-VER.jar [dir]JNotify will then monitor the specified dir (or the current directory if dir is not specified) and print detected events. Note that java.library.path should point to the location of the native libraries that comes with jnotify (dlls, so dylibs etc)...