/* Class662_Sub17 - Decompiled by JODE
 * Visit http://jode.sourceforge.net/
 */

public class Class662_Sub17 extends Class662
{
    public Class662_Sub17(Class616 class616, Class621 class621,
			  Class411 class411) {
	super(class616, class621, class411, Class41.aClass41_493, 128,
	      new Class6(Class660.class));
    }
    
    public static String method9997(CharSequence charsequence, byte i) {
	int i_0_ = charsequence.length();
	StringBuilder stringbuilder = new StringBuilder(i_0_);
	for (int i_1_ = 0; i_1_ < i_0_; i_1_++) {
	    char c = charsequence.charAt(i_1_);
	    if (c >= 'a' && c <= 'z' || c >= 'A' && c <= 'Z'
		|| c >= '0' && c <= '9' || c == '.' || c == '-' || '*' == c
		|| c == '_')
		stringbuilder.append(c);
	    else if (c == ' ')
		stringbuilder.append('+');
	    else {
		int i_2_ = Class583.method7141(c, -1217423832);
		stringbuilder.append('%');
		int i_3_ = i_2_ >> 4 & 0xf;
		if (i_3_ >= 10)
		    stringbuilder.append((char) (55 + i_3_));
		else
		    stringbuilder.append((char) (48 + i_3_));
		i_3_ = i_2_ & 0xf;
		if (i_3_ >= 10)
		    stringbuilder.append((char) (i_3_ + 55));
		else
		    stringbuilder.append((char) (i_3_ + 48));
	    }
	}
	return stringbuilder.toString();
    }
}
