String function ( ) { char [ ] loc0 = { ':' , ';' , '?' } ; Parser loc1 = new Parser ( url ) ; int loc2 = loc1 . indexOf ( '@' ) ; if ( loc2 < 0 ) loc2 = 4 ; else loc2 ++ ; loc1 . setPos ( loc2 ) ; int loc3 = loc1 . indexOf ( loc0 ) ; if ( loc3 < 0 ) return url . substring ( loc2 ) ; else return url . substring ( loc2 , loc3 ) ; }
gets host of sipurl concode_field_sep String ttl_param concode_elem_sep String maddr_param concode_elem_sep String transport_param concode_elem_sep String lr_param concode_elem_sep String url concode_field_sep void addTransport concode_elem_sep void addLr concode_elem_sep String getTransport concode_elem_sep void removeParameters concode_elem_sep void addParameter concode_elem_sep void addParameter concode_elem_sep boolean hasParameters concode_elem_sep String getUserName concode_elem_sep void removeParameter concode_elem_sep boolean hasUserName concode_elem_sep String getParameter concode_elem_sep void init concode_elem_sep String getMaddr concode_elem_sep boolean hasLr concode_elem_sep boolean hasTransport concode_elem_sep void addMaddr concode_elem_sep boolean hasParameter concode_elem_sep int getPort concode_elem_sep boolean hasPort concode_elem_sep boolean hasTtl concode_elem_sep boolean equals concode_elem_sep boolean equals concode_elem_sep Object clone concode_elem_sep Vector getParameters concode_elem_sep String toString concode_elem_sep boolean hasMaddr concode_elem_sep void addTtl concode_elem_sep int getTtl