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

Method asCharSource

output/java_guava/1.4.17/ClassPath.java:228–230  ·  view source on GitHub ↗

Returns a CharSource view of the resource from which its bytes can be read as characters decoded with the given charset. @throws NoSuchElementException if the resource cannot be loaded through the class loader, despite physically existing in the class path. @since 20.0

(Charset charset)

Source from the content-addressed store, hash-verified

226
227
228 public final CharSource asCharSource(Charset charset) {
229 return Resources.asCharSource(url(), charset);
230 }
231
232 /** Returns the fully qualified name of the resource. Such as "com/mycomp/foo/bar.txt". */
233

Callers

nothing calls this directly

Calls 2

asCharSourceMethod · 0.95
urlMethod · 0.95

Tested by

no test coverage detected