public static String encodeScheme ( final String scheme , final String encoding ) { return encodeUriComponent ( scheme , encoding , URIPart . SCHEME ) ; }
Encodes the given URI scheme with the given encoding .