Constructor and Description |
---|
InetAddressHostInfo() |
InetAddressHostInfo(java.net.InetAddress address) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getHostName() |
public InetAddressHostInfo() throws java.net.SocketException
java.net.SocketException
- where an error occurs identifying the host addresspublic InetAddressHostInfo(java.net.InetAddress address)
address
- a host addresspublic java.lang.String getHostName()
getHostName
in interface HostInfo