URL is also a Java class describing URL's (duh!).Has several public constructors, all of which throw MalFormedURLException.
While just having a URL object isn't very exciting, one can use the methods openStrem, openConnection and getContent to access the resources itself, not only its name.