If you do the .append route - make a static final out of the System.getProperty("line.separator") and use that here