MCPcopy Index your code
hub / github.com/antlr/codebuff / asCharSource

Method asCharSource

output/java_guava/1.4.17/Resources.java:90–92  ·  view source on GitHub ↗

Returns a CharSource that reads from the given URL using the given character set. @since 14.0

(URL url, Charset charset)

Source from the content-addressed store, hash-verified

88
89
90 public static CharSource asCharSource(URL url, Charset charset) {
91 return asByteSource(url).asCharSource(charset);
92 }
93
94 /**
95 * Reads all bytes from a URL into a byte array.

Callers 3

asCharSourceMethod · 0.95
toStringMethod · 0.95
readLinesMethod · 0.95

Calls 1

asByteSourceMethod · 0.95

Tested by

no test coverage detected