question: public String encode ( ) { String addressStr = null ; if ( address != null ) { addressStr = address . encode ( ) ; if ( Host . isIPv6Reference ( addressStr ) ) { addressStr = addressStr . substring ( 1 , addressStr . length ( ) - 1 ) ; } } return ORIGIN_FIELD + username + Separators . SP + sessIdString + Separators . SP + sessVersionString + Separators . SP + nettype + Separators . SP + addrtype + Separators . SP + addressStr + Separators . NEWLINE ; }
target:  Get the string encoded version of this object