public static String encode ( final String decoded ) { try { return s_codec . encode ( decoded ) ; } catch ( EncoderException e ) { throw new IllegalStateException ( Bundle . getErrorString ( "URLCodec_encodeException" , new String [ ] { e . getMessage ( ) } ) , e ) ; } }
URL encodes a string using the default character set