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)
| 116 | |
| 117 | |
| 118 | public static String toString(URL url, Charset charset) throws IOException { |
| 119 | return asCharSource(url, charset).read(); |
| 120 | } |
| 121 | |
| 122 | /** |
| 123 | * 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