Configure path for win and linux
<p>A standalone application for windows and linux environment</p>

<p>While i use the windows environment the file system will be like c:\file\abc\xyz\sample.txt
In linux environment the file system will be /home/qa/file/abc/xyz/sample.txt</p>

<p>abc and xyz are the name of the folders that depends on the user click. (abc is the country code folder) &amp; (xyz is language folders)</p>

<p>To construct the path i use properties like </p>

<p>base_path  : /home/test/file/  or   c:\test\file\
file_name : sample.txt</p>

<p>in the program  the construction of the path is :</p>

<p>String path = base_path+country_code+"/"+language_name+"/"+file_name       ("/" for Linux)<br>
String path = base_path+country_code+"\"+language_name+"\"+file_name      ( "\" for windows)</p>

<p>Example for Linux: </p>

<p>/home/test/file/spain/es/sample.txt</p>

<p>Example for Windows:</p>

<p>c:\test\file\Italy\it\sample.txt</p>

<p>country_code and language_name will differ for each user click.</p>

<p>Every time while i test the application with different environment im changing the file separator to "/" or "\" (windows and linux).  How do i do the code without changing the file separator every time.</p>

<p>(If I missed anything, tell me i will update the same)
Thank u.</p>
