I would like a method in FileWriter that adds the system-dependent linebreak character after the line: .writeln(String). As FileWriter inherits its write methods from OutputStreamWriter and Writer, it should probably be defined in one of these.
Yeah, I could use PrintWriter, but there are more differences to PrintWriter than that it has println methods, e.g. it does not throw Exceptions, but sets an error flag, so I would really prefer if FileWriter had a writeln method.
So far I do write(String + BR) and have static String BR = System.getProperty("line.separator"); in the class. It's okay, but a writeln method would be nicer.