encodes a string into its url safe form using the specified string charset . unsafe characters are escaped . concode_field_sep byte ESCAPE_CHAR concode_elem_sep BitSet WWW_FORM_URL concode_elem_sep String charset concode_field_sep String getEncoding concode_elem_sep byte[] decodeUrl concode_elem_sep String getDefaultCharset concode_elem_sep byte[] decode concode_elem_sep String decode concode_elem_sep String decode concode_elem_sep Object decode concode_elem_sep byte[] encodeUrl
String function ( String arg0 , String arg1 ) { if ( arg0 == null ) { return null ; } return new String ( encode ( arg0 . getBytes ( arg1 ) ) , StringEncodings . US_ASCII ) ; }