MCPcopy Create free account
hub / github.com/antlr/codebuff / asCharSource

Method asCharSource

output/java_guava/1.4.16/Files.java:223–225  ·  view source on GitHub ↗

Returns a new CharSource for reading character data from the given file using the given character set. @since 14.0

(File file, Charset charset)

Source from the content-addressed store, hash-verified

221
222
223 public static CharSource asCharSource(File file, Charset charset) {
224 return asByteSource(file).asCharSource(charset);
225 }
226
227 /**
228 * Returns a new {@link CharSink} for writing character data to the given file using the given

Callers 4

toStringMethod · 0.95
copyMethod · 0.95
readFirstLineMethod · 0.95
readLinesMethod · 0.95

Calls 1

asByteSourceMethod · 0.95

Tested by

no test coverage detected