Servoy Plugins
Home
Table-Bean
XML-Plugin
MailPro-Plugin
DialogPro-Plugin
UserManager-Plugin
Google-Plugin
Exchange plugin
Phone-Plugin
FileWatcher-Plugin
TrayIcon-Plugin
PDI-Plugin
DateUtils-Plugin
Log-Plugin
ScreenShot-Plugin

FileWatcher plugin for Servoy
Get notification if a file has been changed

The FileWatcher plugin is a simple plugin that can call a method whenever a (watched) file has been changed in the file system. This is very useful if you need to implement a document management system. If a user checks out a document you can watch that file. Once it is saved to disk, you know that the user has changed the file and remind the user to check that document back in.

The FileWatcher plugin is very easy to use. It has only a few methods:
 

FileWatcher methods


Before you watch a file, you should set the so called "call back method" (the method to be executed if a file has been changed). This is done by calling setCallBackMethod(aMethod). Then you can start watching files by calling watchFile(aFilePath). It's as easy as that!

The plugin also offers

  • a method to create a MD5 checksum of a file
  • platform specific mechanisms to figure out if a file is open or not

If you want to test the FileWatcher plugin, you can register for a demo version here. A sample solution explaining the basic functionality is installed into Servoy/solutions if you install the plugin.

Get it
 
News
Version history
 
Shop
Downloads
Company
Contact
Services

SAN Partner

 

Follow us:
Twitter Facebook
Twitter Twitter

 

         
Legal notice        © 2007-2011 Servoy-Plugins.de        Terms and conditions