Quantcast
Channel: web development helpdesk » URI
Browsing latest articles
Browse All 4 View Live

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...

View Article


How to launch default browser with Java 6

The Desktop class was added in Java 6 to handle launching associated applications on the native desktop. Following shows how to launch a browser to display a URI. URI uri = new...

View Article


How to launch default mail application with Java 6

The Desktop class was added in Java 6 to handle launching associated applications on the native desktop. Following shows how to launch the default mail application and open a mail composing window....

View Article

How to convert a File 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...

View Article
Browsing latest articles
Browse All 4 View Live