class URLEncoder2 {

    @NonNull 
    public static String encode(@NonNull String s, @NonNull String enc) throws UnsupportedEncodingException {
        return encode(s, Charset.forName(enc));
    }

    private  URLEncoder2();

}