I\'m receiving an URL that locates a local file (the fact that I receive an URL is not in my control). The URL is escaped validly as defined in RFC2396. How can I transfor
The File constructor taking an URI in combination with URL#toURI() should work:
URL url = getItSomehow(); File file = new File(url.toURI());