Reads in all characters from a file and writes them, converting special characters to HTML entities when possible. Assumes native encoding. @param file the file to read. @return this writer.
(File file)
| 568 | * @return this writer. |
| 569 | */ |
| 570 | public HTMLWriter text(File file) |
| 571 | { |
| 572 | return html(file, Charset.defaultCharset()); |
| 573 | } |
| 574 | |
| 575 | /** |
| 576 | * Reads in all characters from a file and writes them, |
no test coverage detected