java - Detect changes in a tab delimited text file -
i new java ,i have tab delimited text file , , scan each 5 minutes if there new lines added in file. new lines insert in arraylist , hints ? in advice !
for guess need use apache camel.as using camel purpose not justice integration pattern can use make work easy.define route , make watch of looking file after every 5 mins.
otherwise need write own threads or work timer.you can find example of using timer here.
Comments
Post a Comment