public InetAddress
getAddress(int family) throws IOException {
	String next = _getIdentifier("an address");
	try {
		return Address.getByAddress(next, family);
	}
	catch (UnknownHostException e) {
		throw exception(e.getMessage());
	}
}
Gets the next token from a tokenizer and converts it to an IP Address.
@param family The address family.
@return The next token in the stream, as an InetAddress
@throws TextParseException The input was invalid or not a valid address.
@throws IOException An I/O error occurred.
@see Address
src/main/java/core/org/xbill/DNS/Tokenizer.java