This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 233234 - Allow more events from Notifier
Summary: Allow more events from Notifier
Status: NEW
Alias: None
Product: platform
Classification: Unclassified
Component: Filesystems (show other bugs)
Version: 7.4
Hardware: All All
: P3 normal (vote)
Assignee: Jaroslav Havlin
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-07-23 09:14 UTC by Egor Ushakov
Modified: 2013-07-23 09:14 UTC (History)
0 users

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Egor Ushakov 2013-07-23 09:14:37 UTC
Currently Notifiers SPI have only one "notifying" method - nextEvent returning path to the changed folder (not file). With java 7 WatchService Notifier can provide more precise events like the exact modified/created/removed file path. 
It would be better to have extended SPI for such notifiers and use the information they provide in Watcher to avoid parent folders rescan on every file change.