public static String encode(final String input, final Charset charset) {
        return encode(parse(input), charset);
    }
public static String encode(final String input, final Charset charset) {
        return encode(parse(input), charset);
    }
public static String encode ( final String input , final Charset charset ) { return encode ( parse ( input ) , charset ) ; }
Replacement for {@link java.net.URLEncoder#encode(String, String)}.

@see {@link #encode(java.util.List, java.nio.charset.Charset)}

@param input
@param charset
@return
Replacement for { @link java . net . URLEncoder#encode ( String String ) } .