public final class com.sun.jndi.toolkit.url.UrlUtil
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: com.sun.jndi.toolkit.url.UrlUtil
super_class: java.lang.Object
{
private void <init>();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/sun/jndi/toolkit/url/UrlUtil;
public static final java.lang.String decode(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/String;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
ldc "8859_1"
invokestatic com.sun.jndi.toolkit.url.UrlUtil.decode:(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
1: areturn
2: StackMap locals:
StackMap stack: java.io.UnsupportedEncodingException
pop
3: new java.net.MalformedURLException
dup
ldc "ISO-Latin-1 decoder unavailable"
invokespecial java.net.MalformedURLException.<init>:(Ljava/lang/String;)V
athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 s Ljava/lang/String;
Exception table:
from to target type
0 1 2 Class java.io.UnsupportedEncodingException
Exceptions:
throws java.net.MalformedURLException
MethodParameters:
Name Flags
s
public static final java.lang.String decode(java.lang.String, java.lang.String);
descriptor: (Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
Code:
stack=5, locals=4, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokestatic java.net.URLDecoder.decode:(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
1: areturn
2: StackMap locals:
StackMap stack: java.lang.IllegalArgumentException
astore 2
start local 2 3: new java.net.MalformedURLException
dup
new java.lang.StringBuilder
dup
ldc "Invalid URI encoding: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.net.MalformedURLException.<init>:(Ljava/lang/String;)V
astore 3
start local 3 4: aload 3
aload 2
invokevirtual java.net.MalformedURLException.initCause:(Ljava/lang/Throwable;)Ljava/lang/Throwable;
pop
5: aload 3
athrow
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 s Ljava/lang/String;
0 6 1 enc Ljava/lang/String;
3 6 2 iae Ljava/lang/IllegalArgumentException;
4 6 3 mue Ljava/net/MalformedURLException;
Exception table:
from to target type
0 1 2 Class java.lang.IllegalArgumentException
Exceptions:
throws java.net.MalformedURLException, java.io.UnsupportedEncodingException
MethodParameters:
Name Flags
s
enc
public static final java.lang.String encode(java.lang.String, java.lang.String);
descriptor: (Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
Code:
stack=5, locals=7, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokevirtual java.lang.String.getBytes:(Ljava/lang/String;)[B
astore 2
start local 2 1: aload 2
arraylength
istore 3
start local 3 2: iconst_3
iload 3
imul
newarray 5
astore 4
start local 4 3: iconst_0
istore 5
start local 5 4: iconst_0
istore 6
start local 6 5: goto 16
6: StackMap locals: java.lang.String java.lang.String byte[] int char[] int int
StackMap stack:
aload 2
iload 6
baload
bipush 97
if_icmplt 7
aload 2
iload 6
baload
bipush 122
if_icmple 10
7: StackMap locals:
StackMap stack:
aload 2
iload 6
baload
bipush 65
if_icmplt 8
aload 2
iload 6
baload
bipush 90
if_icmple 10
8: StackMap locals:
StackMap stack:
aload 2
iload 6
baload
bipush 48
if_icmplt 9
aload 2
iload 6
baload
bipush 57
if_icmple 10
9: StackMap locals:
StackMap stack:
ldc "=,+;.'-@&/$_()!~*:"
aload 2
iload 6
baload
invokevirtual java.lang.String.indexOf:(I)I
iflt 12
10: StackMap locals:
StackMap stack:
aload 4
iload 5
iinc 5 1
aload 2
iload 6
baload
i2c
castore
11: goto 15
12: StackMap locals:
StackMap stack:
aload 4
iload 5
iinc 5 1
bipush 37
castore
13: aload 4
iload 5
iinc 5 1
bipush 15
aload 2
iload 6
baload
iconst_4
iushr
iand
bipush 16
invokestatic java.lang.Character.forDigit:(II)C
castore
14: aload 4
iload 5
iinc 5 1
bipush 15
aload 2
iload 6
baload
iand
bipush 16
invokestatic java.lang.Character.forDigit:(II)C
castore
15: StackMap locals:
StackMap stack:
iinc 6 1
StackMap locals:
StackMap stack:
16: iload 6
iload 3
if_icmplt 6
end local 6 17: new java.lang.String
dup
aload 4
iconst_0
iload 5
invokespecial java.lang.String.<init>:([CII)V
areturn
end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 18 0 s Ljava/lang/String;
0 18 1 enc Ljava/lang/String;
1 18 2 bytes [B
2 18 3 count I
3 18 4 buf [C
4 18 5 j I
5 17 6 i I
Exceptions:
throws java.io.UnsupportedEncodingException
MethodParameters:
Name Flags
s
enc
}
SourceFile: "UrlUtil.java"