Code example for FileWriter

Methods: close, flush