Uses of Class

Uses in package

Constructors with parameter type

URL.URL(String protocol, String host, int port, String file, URLStreamHandler ph)
This method initializes a new instance of URL with the specified protocol, host, port, and file.
URL.URL(URL context, String spec, URLStreamHandler ph)
Creates an URL from given arguments This method parses a String representation of a URL within the context of an existing URL.

Methods with return type

This method maps the protocol portion of a URL to a URLStreamHandler object.