public static InetAddress inetAddressFromLocation(String location) {
        try {
            return InetAddress.getByName(location);
        } catch (UnknownHostException e) {
            throw new DeepIOException(e);
        }
    }
public static InetAddress inetAddressFromLocation ( String location ) { try { return InetAddress . getByName ( location ) ; } catch ( UnknownHostException e ) { throw new DeepIOException ( e ) ; } }
Returns the inet address for the specified location.

@param location the address as String
@return the InetAddress object associated to the provided address.