阅读背景:

如何使用Java 7 WatchService省略对某些文件的检测

来源:互联网 

I've registered CREATE, MODIFY and DELETE events to the monitor successfully and they works fine to me. For my issue I would like to do some file modification like 'rename' once CREATE event is triggered so MODIFY event will be triggered next as well however I don't want it. Could I just omit MODIFY event for this time?I've registered CREATE, MODIFY and DELETE event




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: