URL.set

URL.set

Class Overview | Class Members | This Package | All Packages

Syntax
protected void set( String protocol, String host, int port, String file, String ref )
Parameters
protocol
the protocol to use
host
the host name to connecto to
port
the protocol port to connect to
file
the specified file name on that host
ref
the reference
Description
Sets the fields of the URL. This is not a public method so that only URLStreamHandlers can modify URL fields. URLs are otherwise constant. REMIND: this method will be moved to URLStreamHandler