Is there is any way to convert the local path to UNC path in java.
For eg String s = F:\Test\Data\hello.xml
Here "Data" folder is shared folder and my pc name is ram-pc. so i want to convert the above url as follows.
is that possible in java. Can anybody tell me how to convert local path to UNC path in java.