[ajug-members] File monitoring

Shan Srinivasan shansrinivasan at yahoo.com
Fri Jun 15 14:01:19 EDT 2007


I have used FileWatchDog from log4j helpers, it was good..


----- Original Message ----
From: Shane Crosby <maccroz at gmail.com>
To: General AJUG membership forum (100-200 messages/month) <ajug-members at ajug.org>
Sent: Friday, June 15, 2007 12:14:42 PM
Subject: Re: [ajug-members] File monitoring

I'm not aware of any way to do it without polling the file periodically for changes.  This page gives an example of how to implement a FileChangeListener using java.util.Timer & TimerTask:

http://www.javaworld.com/javaworld/javatips/jw-javatip125.html


On 6/15/07, Barnes, Mike <MB5745 at att.com> wrote: 
I have a situation where I need to be able to monitor a file for changes and then load the changes when this file changes.
 
After doing extensive research on the net I have not been able to come up with a simple solution to this problem. Does anyone have suggestions that may help me move forward?
 
Thanks
Mike Barnes

_______________________________________________
ajug-members mailing list
ajug-members at ajug.org
http://www.ajug.org/mailman/listinfo/ajug-members




_______________________________________________
ajug-members mailing list
ajug-members at ajug.org
http://www.ajug.org/mailman/listinfo/ajug-members
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.ajug.org/pipermail/ajug-members/attachments/20070615/2f0f6464/attachment.html 


More information about the ajug-members mailing list