A DESCRIPTION OF THE REQUEST :
JDK Should provide Class which can watch specific directory and Fire Events on change/delation/creation/rename of any content.
Class must be able to watch Local, remote or network resources with following proposed functions.
1. Setting / Getting Watcher Path
2. Setting Filters
3. Add/Remove Event Listener
4. Cancel Watch
JUSTIFICATION :
FileSystemWatcher is Necessary for writing File Monitoring applications.
We may have custom implementation using Threads which is Consuming lots of CPU time.
EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
Required Simillar Class like FileSystemWatcher Class in Microsoft .net Framework.