Streams lines from a URL, stopping when our callback returns false, or we have read all of the lines. @param url the URL to read from @param charset the charset used to decode the input stream; see Charsets for helpful predefined constants @param callback the LineProcessor to use to han
(URL url, Charset charset, LineProcessor<T> callback)
| 132 | */ |
| 133 | |
| 134 | @CanIgnoreReturnValue // some processors won't return a useful result |
| 135 | public static <T> T readLines(URL url, Charset charset, LineProcessor<T> callback) |
| 136 | throws IOException { |
| 137 | return asCharSource(url, charset).readLines(callback); |
| 138 | } |
| 139 | |
| 140 | /** |
| 141 | * Reads all of the lines from a URL. The lines do not include line-termination characters, but do |
nothing calls this directly
no test coverage detected