public IPv4Address(String addrStr) throws IllegalArgumentException { final StringTokenizer tok = new StringTokenizer(addrStr, "."); if (tok.countTokens() != length) { throw new IllegalArgumentException("Not an IPv4 address " + addrStr); }
public IPv4Address(byte[] src, int offset) {
	public IPv4Address(String addrStr) 	throws IllegalArgumentException {		final StringTokenizer tok = new StringTokenizer(addrStr, ".");		if (tok.countTokens() != length) {			throw new IllegalArgumentException("Not an IPv4 address " + addrStr);		}		address = new byte[length];		for (int i = 0; i < length; i++) {			try {				address[i] = (byte)Integer.parseInt(tok.nextToken());			} catch (NumberFormatException ex) {				throw new IllegalArgumentException("Not a valid IPv4 address " + addrStr);			}		}	}