Returns a {@link CharSource} that reads from the given URL using the given character set. @since 14.0
(URL url, Charset charset)
| 81 | * @since 14.0 |
| 82 | */ |
| 83 | public static CharSource asCharSource(URL url, Charset charset) { |
| 84 | return asByteSource(url).asCharSource(charset); |
| 85 | } |
| 86 | |
| 87 | /** |
| 88 | * Reads all bytes from a URL into a byte array. |