How about constructing a PrintWriter from a StringWriter? Then you could call `println(..)` and not have to tack on `+ "\\n"` everywhere?