public static InetAddress getByName ( final String urlAddr ) { try { val url = new URL ( urlAddr ) ; return InetAddress . getByName ( url . getHost ( ) ) ; } catch ( final Exception e ) { LOGGER . trace ( "Host name could not be determined automatically." , e ) ; } return null ; }
Gets by name .