Code example for BufferedWriter

Methods: closeflushnewLineappend