encode a path segment , escaping characters not valid for a url . the following characters are not escaped : a. . z , a. . z , 0 . .9 . - _ ' ' space is encoded as ' + ' . all other characters including ' / ' are converted to the triplet '' % xy '' where `` xy '' is the hex representation of the character in utf-8 . concode_field_sep PlaceHolder placeHolder concode_field_sep String decode
String function ( String arg0 ) { if ( arg0 != null ) { try { return URLEncoder . encode ( arg0 , UTF_8 . name ( ) ) ; } catch ( UnsupportedEncodingException loc0 ) { throw new RuntimeException ( "srini_string" , loc0 ) ; } } return null ; }