Originally posted by jk pd:
Is there a Java API to know which files got opened.....
No. You could use java.io.File to check lastModified(), but that's it. Keeping track of file access is an operating system activity. Java tries to be OS independent, and it's intended to be used for large scale and distributed applications, so you don't get a lot of low-level functionality.