A tail -f in Java