JDK-6369069 : FileSystemWatcher
  • Type: Enhancement
  • Component: core-libs
  • Sub-Component: java.io
  • Affected Version: 5.0
  • Priority: P5
  • Status: Closed
  • Resolution: Duplicate
  • OS: windows_xp
  • CPU: x86
  • Submitted: 2006-01-05
  • Updated: 2011-02-16
  • Resolved: 2006-01-05
Related Reports
Duplicate :  
Description
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.

Comments
EVALUATION Yes, an important requirement which is on the list for JSR203. As we already have 4526561 tracking this issue then I will close this one as a dup.
05-01-2006