Is there a Newline constant defined in Java like Environment.Newline in C#?
<p>In C# there is the static property <a href="http://msdn.microsoft.com/en-us/library/system.environment.newline.aspx" rel="nofollow">Environment.Newline</a> that changed depending on the running platform.</p>

<p>Is there anything similar in Java?</p>
