formats a network address and port for display purposes . this formats the address with #format inetaddress and appends the port number . ipv6 addresses will be bracketed . any host information , if present is ignored . example output : ipv4 : 127.0.0.1:9300 ipv6 : : :1 :9300 concode_field_sep PlaceHolder placeHolder concode_field_sep placeholderType placeHolder
String function ( InetSocketAddress arg0 ) { return format ( arg0 . getAddress ( ) , arg0 . getPort ( ) ) ; }