title: how to monitor file alterations in directory in java
body: <p>How to read csv files in a folder. New files will be added periodically in that folder. First while starting the java application it need to read all the csv file in that folder and after that it should read only new added csv file. Java application should not be killed after reading, it should run continuously. Thanks in advance</p>
  <pre><code>BufferedReader br = new BufferedReader(new FileReader(&quot;file.csv&quot;));  
  while ((line = br.readLine()) != null)
  {  
  String[] employee = line.split(',');
  .... 
  }      
  </code></pre>