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

Method append

corpus/java/training/guava/io/Files.java:330–332  ·  view source on GitHub ↗

Appends a character sequence (such as a string) to a file using the given character set. @param from the character sequence to append @param to the destination file @param charset the charset used to encode the output stream; see StandardCharsets for helpful predefined constants @throws

(CharSequence from, File to, Charset charset)

Source from the content-addressed store, hash-verified

328 * @throws IOException if an I/O error occurs
329 */
330 public static void append(CharSequence from, File to, Charset charset) throws IOException {
331 write(from, to, charset, true);
332 }
333
334 /**
335 * Private helper method. Writes a character sequence to a file, optionally appending.

Callers 15

toStringMethod · 0.45
toStringMethod · 0.45
addMethod · 0.45
writeMethod · 0.45
writeLinesMethod · 0.45
toStringMethod · 0.45
formatMethod · 0.45
padStartMethod · 0.45
padEndMethod · 0.45
appendToMethod · 0.45
appendToMethod · 0.45
convertMethod · 0.45

Calls 1

writeMethod · 0.95

Tested by

no test coverage detected