Method Summary |
|
public Object | clone() Makes a copy of the current instance. |
public String | encode() Return the host name in encoded form. |
public boolean | equals(Object obj) Compares for equality of hosts.
Host names are compared by textual equality. |
public String | getAddress() Gets the Address field. |
public String | getHostname() Gets the HostName field. |
public boolean | isHostname() Returns true if the address is a DNS host name
(and not an IPV4 address). |
public boolean | isIPAddress() Returns true if the address is a DNS host name
(and not an IPV4 address). |
public void | setAddress(String address) Sets the address member. |
public void | setHostname(String h) Sets the hostname member. |