How do I get a platform-dependent newline in Java? I can’t use \"\\n\" everywhere.
\"\\n\"
The commons-lang library has a constant field available called SystemUtils.LINE_SEPARATOR