Quantcast
Viewing latest article 1
Browse Latest Browse All 4

How to convert file path with space to a URL

Many developers use the toURL() method of the File class to convert a File to a URL. This method however does not handle correctly escaping characters that are illegal in URL’s (such as spaces) and has been deprecated. To convert a File to a URL you should instead first use the toURI() method to convert […]

Viewing latest article 1
Browse Latest Browse All 4

Trending Articles