Java Code to monitor changes in a text file
<p>I need to write a java code which detects changes done to a text file and also notify what change was done to the text file when the text file is changed  ie) If a word ABCD was changed to BCDA in the text file then i need to be notified that ABCD was changed to BCDA. Can you please let me know whether i can achieve this using java(using only opensource and no paid or commercial tools)</p>
