Platform Specific Line Separator in Java | JAVAJEE.COM
The line separator is the name given to the character or characters used to separate lines of text, and vary from platform to platform. On Windows, it is the CR character (carriage return) followed by the LF character (linefeed), which is rn.