Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
37 lines (17 sloc) 1.09 KB

A file monitor for Java (OSGi) applications.



It uses a system function to notifiy listeners about changes in the file-system.



Some examples of usage are:

In an OSGi environment

The code was developed for OSGi environments in mind. All provided jars are valid OSGi bundles.


Supported file-systems

Currently there is only a Win32 implementation based on ReadDirectoryChangesW.
Feel free to fork this repository and add an implementation for your file-system.

OSGi support

The file.monitor.osgi.event implements an FileListener that translates the FileEvent into a EventAdmin event with topic and properties.


This code and the accompanying materials are made available under the terms of the Eclipse Public License v1.0 which accompanies this distribution, and is available at