URLStreamHandler.setURL

URLStreamHandler.setURL

Class Overview | Class Members | This Package | All Packages

Syntax
protected void setURL( URL u, String protocol, String host, int port, String file, String ref )
Parameters
u
the URL to modify.
protocol
the protocol name.
host
the remote host value for the URL.
port
the port on the remote machine.
file
the file.
ref
the reference.
Description
Sets the fields of the URL argument to the indicated values. Only classes derived from URLStreamHandler are supposed to be able to call the set method on a URL.

See Also
set