public byte [ ] getAddressBytes ( int family ) throws IOException { String next = _getIdentifier ( "an address" ) ; byte [ ] bytes = Address . toByteArray ( next , family ) ; if ( bytes == null ) throw exception ( "Invalid address: " + next ) ; return bytes ; }
Gets the next token from a tokenizer and converts it to a byte array containing an IP address .