8 Replies Latest reply: May 7, 2012 10:32 PM by Nick . RSS

    How to convert vfs protocol to file protocol.

    Nick . Novice

      Can anybody know how to convert vfs:/xyz file to file:/xyz which work across Unix, Linux, Mac and Windows

      URL url = some virtual file url;

      new File(URLDecoder.decode(url.getFile(),"UTF-8")).toURI().toURL(); this works except in Mac.