wiki:WindowsFileSystemObserver

Version 2 (modified by Sven, 16 years ago) (diff)

--

Windows File System Observer

The WindowsFileSystemObserver project is an open-source project providing file system observations (currently only for Windows OS). It observes the following file/folder operations: create, delete, move, and rename files/folders.

This project uses JNIWrapper, a commercial product. DFKI has got a developer license; the WindowsFileSystemObserver project is shipped with a free runtime license.

Getting the code

Check out the project from this SVN repository:

https://usercontext.opendfki.de/repos/trunk/WindowsFileSystemObserver

Starting

You have 3 alternative ways of starting the file system observer:

Configuring

Wenn first starting the file observer it opens up the config dialog which allows to add the file folders to observe. You can use the [Add] button to add file folders to observe (subfolders are also observed). After having added some file folders the dialog will look like this:

The file system observer provides an MBean interface you can access via the Java console (jconsole):

So, if you close the config dialog once, you can open it up again by using the jconsole and invoke the [configure] method. Alternatively, you can also invoke [addFolderToObserve].

Attachments (2)

Download all attachments as: .zip