A file watching facility for Java. Uses native platform support to avoid polling on selected platforms (currently supports win32, Mac OS X, Linux and FreeBSD on x86 platforms). Implements JDK 7's WatchService, but also runs on Java 5 and 6
Features
- Directory monitoring and file change notification library with native support
- No polling on supported platforms (Windows, Linux; FreeBSD and MacOSX will pollin selected cases)
- Supports ENTRY_RENAME on selected platforms
- Allows recursive monitoring of whole directory trees (Windows only)
License
GNU General Public License with Classpath exception (Classpath::License)Follow jpathwatch
Other Useful Business Software
Rate This Project
Login To Rate This Project
User Reviews
-
It uses the Java7 API, but works on Java 5 and 6. This is not only a great idea, but the implementation works like a charm! Thank you Uwe!
-
I like this project and could test it on Windows and Mac OS without any complications. Good work, Uwe! It's interesting that depending on the OS for each file put in the watching queue you get different number of MODIFY Events, e.g. on Mac OS I get 1 and on Windows XP I get 3. However as Uwe told me you can never rely on these numbers. Ralf