Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-6369069

FileSystemWatcher

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Duplicate
    • Icon: P5 P5
    • None
    • 5.0
    • core-libs
    • x86
    • windows_xp

      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.

            Unassigned Unassigned
            ndcosta Nelson Dcosta (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: