I\'m trying to figure out how to continuously read a file and once there is a new line added, output the line. I\'m doing this using a sleep thread however it just seems to
Also consider org.apache.commons.io.input.Tailer if you do not have the requirement of writing this from scratch.