Home | History | Annotate | Download | only in core

Lines Matching refs:Host

55 public class Host extends GenericObject {
85 public Host() {
92 /** Constructor given host name or IP address.
94 public Host(String hostName) throws IllegalArgumentException {
96 throw new IllegalArgumentException("null host name");
108 public Host(String name, int addrType) {
116 * Return the host name in encoded form.
134 * Host names are compared by textual equality. No dns lookup
144 Host otherHost = (Host) obj;
202 * Sets the host address or name of this object.
204 * @param host that host address/name value
205 * @param type determines whether host is an address or a host name
207 private void setHost(String host, int type){
212 if (isIPv6Address(host))
218 if (host != null){
219 hostname = host.trim();
245 /** Return true if the address is a DNS host name
253 /** Return true if the address is a DNS host name
255 *@return true if the hostname is host address.
261 /** Get the inet address from this host.
265 *@throws UnkownHostexception when the host name cannot be resolved.