Closed coderplay closed 12 years ago
EventProducer watch the changes of the input directory and tail it's last updated data.
EventProducer
http://openjdk.java.net/projects/nio/javadoc/java/nio/file/WatchService.html
http://docs.oracle.com/javase/tutorial/essential/io/notification.html
There is also a Apache License equivalent: http://stackoverflow.com/questions/7968488/watchservice-for-java-6
Miss committing a modification on DragonConfig.java
EventProducer
watch the changes of the input directory and tail it's last updated data.http://openjdk.java.net/projects/nio/javadoc/java/nio/file/WatchService.html
http://docs.oracle.com/javase/tutorial/essential/io/notification.html