public static URI toURI ( InetAddress adr ) { try { return new URI ( "tcp" , adr . getHostAddress ( ) , null , null ) ; //$NON-NLS-1$ } catch ( URISyntaxException e ) { throw new IOError ( e ) ; } }
Convert an inet address to an URI .