I would like to know how to efficiently implement filesystem changes in java? Say I got a file in a folder and modify that file. I would like to be notified by java about th
Take a look at JNotify, which performs this type of monitoring.
Java 7 will have some more advanced APIs (WatchService) for this sort of work which will eliminate polling on the OSes that support this.