Directory indicator on windows and on Linux. 
<blockquote>
  <p><strong>Possible Duplicate:</strong><br>
  <a href="http://stackoverflow.com/questions/3548775/platform-independent-paths-in-java">Platform independent paths in Java</a>  </p>
</blockquote>



<p>I make a program but it save some files in a directory that the user selects.</p>

<p>I need to make this program to work both in linux and windows , so for example on windows the directory seperator is <code>\</code> and on linux is <code>/</code> ...</p>

<p>How can I import one value that represents both depending the operating system?</p>
