public static < T > T readLines ( URL url , Charset charset , LineProcessor < T > callback ) throws IOException { return asCharSource ( url , charset ) . readLines ( callback ) ; }
Streams lines from a URL stopping when our callback returns false or we have read all of the lines .