title: Directory listener in Java
body: <p>I have an application in which I want to listen to any changes made to a particular directory.  The application should ping me as soon as there are any files added, deleted or updated in that directory.</p>