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)
| 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. |
no test coverage detected