Java System Independent Root Directory Paths : <p>In a Windows system my path would be like this:</p>

<pre><code>C:/example/
</code></pre>

<p>And in a Linux system my path would be like this:</p>

<pre><code>/example/
</code></pre>

<p>Is there some utility function to have a single string work in both systems? </p>
