How to get the end of line character based on the operating system
private final static String EOL = System.getProperty("line.separator");
This is similar to PHP's EOL constant.
[Click to add or edit comments])
Please prepend comments below including a date