Wednesday, December 2, 2009

Folder Watching

I've gone back to the folder watching idea. File notification still isn't built into java, that's the next release, but I've seen some online forum postings about monitoring the last modified property of a file so I've decided to go that route. My basic plan of attack is to keep a listing of all folders in a directory and their last modified long number. On a certain interval, the thread will scan all folders again and if a folder has been changed then get that folder and do whatever with it. 'Tis a bold plan.

Brian

No comments:

Post a Comment