URL.getHost

URL.getHost

Class Overview | Class Members | This Package | All Packages

Syntax
public String getHost()
Returns
the host name of this URL.
Description
Returns the host name of this URL, if applicable. For "file" protocol, this is an empty string.