Reads all characters from a URL into a String, using the given character set. @param url the URL to read from @param charset the charset used to decode the input stream; see Charsets for helpful predefined constants @return a string containing all the characters from the URL @th
(URL url, Charset charset)
| 109 | * @throws IOException if an I/O error occurs. |
| 110 | */ |
| 111 | public static String toString(URL url, Charset charset) throws IOException { |
| 112 | return asCharSource(url, charset).read(); |
| 113 | } |
| 114 | |
| 115 | /** |
| 116 | * Streams lines from a URL, stopping when our callback returns false, or we have read all of the |
nothing calls this directly
no test coverage detected