public Host(String hostName) throws IllegalArgumentException { if (hostName == null) throw new IllegalArgumentException("null host name"); this.hostname = hostName; if (isIPv6Address(hostName)) this.addressType = IPV6ADDRESS; this.addressType = IPV4ADDRESS;
public Host() { addressType = HOSTNAME;
	public Host(String hostName) throws IllegalArgumentException {		if (hostName == null)			throw new IllegalArgumentException("null host name");		this.hostname = hostName;		if (isIPv6Address(hostName))			this.addressType = IPV6ADDRESS;		this.addressType = IPV4ADDRESS;	}