question: public String encode ( ) { String encoded_string = "" ; if ( address != null ) { encoded_string = address . encode ( ) ; if ( Host . isIPv6Reference ( encoded_string ) ) { encoded_string = encoded_string . substring ( 1 , encoded_string . length ( ) - 1 ) ; } } if ( ttl != 0 && port != 0 ) { encoded_string += Separators . SLASH + ttl + Separators . SLASH + port ; } else if ( ttl != 0 ) { encoded_string += Separators . SLASH + ttl ; } return encoded_string ; }
target:  Get the string encoded version of this object