public class javax.activation.MailcapCommandMap extends javax.activation.CommandMap
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: javax.activation.MailcapCommandMap
super_class: javax.activation.CommandMap
{
private com.sun.activation.registries.MailcapFile[] DB;
descriptor: [Lcom/sun/activation/registries/MailcapFile;
flags: (0x0002) ACC_PRIVATE
private static final int PROG;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 0
private static final java.lang.String confDir;
descriptor: Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=1, args_size=0
0: aconst_null
astore 0
start local 0 1: new javax.activation.MailcapCommandMap$1
dup
invokespecial javax.activation.MailcapCommandMap$1.<init>:()V
2: invokestatic java.security.AccessController.doPrivileged:(Ljava/security/PrivilegedAction;)Ljava/lang/Object;
checkcast java.lang.String
astore 0
3: goto 5
StackMap locals: java.lang.String
StackMap stack: java.lang.Exception
4: pop
5: StackMap locals:
StackMap stack:
aload 0
putstatic javax.activation.MailcapCommandMap.confDir:Ljava/lang/String;
end local 0 6: return
LocalVariableTable:
Start End Slot Name Signature
1 6 0 dir Ljava/lang/String;
Exception table:
from to target type
1 3 4 Class java.lang.Exception
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=5, args_size=1
start local 0 0: aload 0
invokespecial javax.activation.CommandMap.<init>:()V
1: new java.util.ArrayList
dup
iconst_5
invokespecial java.util.ArrayList.<init>:(I)V
astore 1
start local 1 2: aconst_null
astore 2
start local 2 3: aload 1
aconst_null
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
4: ldc "MailcapCommandMap: load HOME"
invokestatic com.sun.activation.registries.LogSupport.log:(Ljava/lang/String;)V
5: ldc "user.home"
invokestatic java.lang.System.getProperty:(Ljava/lang/String;)Ljava/lang/String;
astore 3
start local 3 6: aload 3
ifnull 13
7: new java.lang.StringBuilder
dup
aload 3
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
getstatic java.io.File.separator:Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc ".mailcap"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 4
start local 4 8: aload 0
aload 4
invokevirtual javax.activation.MailcapCommandMap.loadFile:(Ljava/lang/String;)Lcom/sun/activation/registries/MailcapFile;
astore 2
9: aload 2
ifnull 13
10: aload 1
aload 2
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
end local 4 end local 3 11: goto 13
StackMap locals: javax.activation.MailcapCommandMap java.util.List com.sun.activation.registries.MailcapFile
StackMap stack: java.lang.SecurityException
12: pop
13: StackMap locals:
StackMap stack:
ldc "MailcapCommandMap: load SYS"
invokestatic com.sun.activation.registries.LogSupport.log:(Ljava/lang/String;)V
14: getstatic javax.activation.MailcapCommandMap.confDir:Ljava/lang/String;
ifnull 20
15: aload 0
new java.lang.StringBuilder
dup
getstatic javax.activation.MailcapCommandMap.confDir:Ljava/lang/String;
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc "mailcap"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual javax.activation.MailcapCommandMap.loadFile:(Ljava/lang/String;)Lcom/sun/activation/registries/MailcapFile;
astore 2
16: aload 2
ifnull 20
17: aload 1
aload 2
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
18: goto 20
StackMap locals:
StackMap stack: java.lang.SecurityException
19: pop
20: StackMap locals:
StackMap stack:
ldc "MailcapCommandMap: load JAR"
invokestatic com.sun.activation.registries.LogSupport.log:(Ljava/lang/String;)V
21: aload 0
aload 1
ldc "META-INF/mailcap"
invokevirtual javax.activation.MailcapCommandMap.loadAllResources:(Ljava/util/List;Ljava/lang/String;)V
22: ldc "MailcapCommandMap: load DEF"
invokestatic com.sun.activation.registries.LogSupport.log:(Ljava/lang/String;)V
23: aload 0
ldc "/META-INF/mailcap.default"
invokevirtual javax.activation.MailcapCommandMap.loadResource:(Ljava/lang/String;)Lcom/sun/activation/registries/MailcapFile;
astore 2
24: aload 2
ifnull 26
25: aload 1
aload 2
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
26: StackMap locals:
StackMap stack:
aload 0
aload 1
invokeinterface java.util.List.size:()I
anewarray com.sun.activation.registries.MailcapFile
putfield javax.activation.MailcapCommandMap.DB:[Lcom/sun/activation/registries/MailcapFile;
27: aload 0
aload 1
aload 0
getfield javax.activation.MailcapCommandMap.DB:[Lcom/sun/activation/registries/MailcapFile;
invokeinterface java.util.List.toArray:([Ljava/lang/Object;)[Ljava/lang/Object;
checkcast com.sun.activation.registries.MailcapFile[]
putfield javax.activation.MailcapCommandMap.DB:[Lcom/sun/activation/registries/MailcapFile;
28: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 29 0 this Ljavax/activation/MailcapCommandMap;
2 29 1 dbv Ljava/util/List;
3 29 2 mf Lcom/sun/activation/registries/MailcapFile;
6 11 3 user_home Ljava/lang/String;
8 11 4 path Ljava/lang/String;
Exception table:
from to target type
5 11 12 Class java.lang.SecurityException
14 18 19 Class java.lang.SecurityException
private com.sun.activation.registries.MailcapFile loadResource(java.lang.String);
descriptor: (Ljava/lang/String;)Lcom/sun/activation/registries/MailcapFile;
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=6, args_size=2
start local 0 start local 1 0: aconst_null
astore 2
start local 2 1: aload 0
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
aload 1
invokestatic javax.activation.SecuritySupport.getResourceAsStream:(Ljava/lang/Class;Ljava/lang/String;)Ljava/io/InputStream;
astore 2
2: aload 2
ifnull 14
3: new com.sun.activation.registries.MailcapFile
dup
aload 2
invokespecial com.sun.activation.registries.MailcapFile.<init>:(Ljava/io/InputStream;)V
astore 3
start local 3 4: invokestatic com.sun.activation.registries.LogSupport.isLoggable:()Z
ifeq 8
5: new java.lang.StringBuilder
dup
ldc "MailcapCommandMap: successfully loaded mailcap file: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
6: aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
7: invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokestatic com.sun.activation.registries.LogSupport.log:(Ljava/lang/String;)V
8: StackMap locals: java.io.InputStream com.sun.activation.registries.MailcapFile
StackMap stack:
aload 3
astore 5
9: aload 2
ifnull 13
10: aload 2
invokevirtual java.io.InputStream.close:()V
11: goto 13
StackMap locals: javax.activation.MailcapCommandMap java.lang.String java.io.InputStream com.sun.activation.registries.MailcapFile top com.sun.activation.registries.MailcapFile
StackMap stack: java.io.IOException
12: pop
13: StackMap locals:
StackMap stack:
aload 5
areturn
end local 3 14: StackMap locals: javax.activation.MailcapCommandMap java.lang.String java.io.InputStream
StackMap stack:
invokestatic com.sun.activation.registries.LogSupport.isLoggable:()Z
ifeq 39
15: new java.lang.StringBuilder
dup
ldc "MailcapCommandMap: not loading mailcap file: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
16: aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
17: invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokestatic com.sun.activation.registries.LogSupport.log:(Ljava/lang/String;)V
18: goto 39
StackMap locals:
StackMap stack: java.io.IOException
19: astore 3
start local 3 20: invokestatic com.sun.activation.registries.LogSupport.isLoggable:()Z
ifeq 22
21: new java.lang.StringBuilder
dup
ldc "MailcapCommandMap: can't load "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
aload 3
invokestatic com.sun.activation.registries.LogSupport.log:(Ljava/lang/String;Ljava/lang/Throwable;)V
end local 3 22: StackMap locals:
StackMap stack:
aload 2
ifnull 43
23: aload 2
invokevirtual java.io.InputStream.close:()V
24: goto 43
StackMap locals:
StackMap stack: java.io.IOException
25: pop
goto 43
26: StackMap locals:
StackMap stack: java.lang.SecurityException
astore 3
start local 3 27: invokestatic com.sun.activation.registries.LogSupport.isLoggable:()Z
ifeq 29
28: new java.lang.StringBuilder
dup
ldc "MailcapCommandMap: can't load "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
aload 3
invokestatic com.sun.activation.registries.LogSupport.log:(Ljava/lang/String;Ljava/lang/Throwable;)V
end local 3 29: StackMap locals:
StackMap stack:
aload 2
ifnull 43
30: aload 2
invokevirtual java.io.InputStream.close:()V
31: goto 43
StackMap locals:
StackMap stack: java.io.IOException
32: pop
goto 43
33: StackMap locals:
StackMap stack: java.lang.Throwable
astore 4
34: aload 2
ifnull 38
35: aload 2
invokevirtual java.io.InputStream.close:()V
36: goto 38
StackMap locals: javax.activation.MailcapCommandMap java.lang.String java.io.InputStream top java.lang.Throwable
StackMap stack: java.io.IOException
37: pop
38: StackMap locals:
StackMap stack:
aload 4
athrow
39: StackMap locals: javax.activation.MailcapCommandMap java.lang.String java.io.InputStream
StackMap stack:
aload 2
ifnull 43
40: aload 2
invokevirtual java.io.InputStream.close:()V
41: goto 43
StackMap locals:
StackMap stack: java.io.IOException
42: pop
43: StackMap locals:
StackMap stack:
aconst_null
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 44 0 this Ljavax/activation/MailcapCommandMap;
0 44 1 name Ljava/lang/String;
1 44 2 clis Ljava/io/InputStream;
4 14 3 mf Lcom/sun/activation/registries/MailcapFile;
20 22 3 e Ljava/io/IOException;
27 29 3 sex Ljava/lang/SecurityException;
Exception table:
from to target type
9 11 12 Class java.io.IOException
1 9 19 Class java.io.IOException
14 18 19 Class java.io.IOException
22 24 25 Class java.io.IOException
1 9 26 Class java.lang.SecurityException
14 18 26 Class java.lang.SecurityException
29 31 32 Class java.io.IOException
1 9 33 any
14 22 33 any
26 29 33 any
34 36 37 Class java.io.IOException
39 41 42 Class java.io.IOException
MethodParameters:
Name Flags
name
private void loadAllResources(java.util.List, java.lang.String);
descriptor: (Ljava/util/List;Ljava/lang/String;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=11, args_size=3
start local 0 start local 1 start local 2 0: iconst_0
istore 3
start local 3 1: aconst_null
astore 5
start local 5 2: invokestatic javax.activation.SecuritySupport.getContextClassLoader:()Ljava/lang/ClassLoader;
astore 5
3: aload 5
ifnonnull 5
4: aload 0
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
invokevirtual java.lang.Class.getClassLoader:()Ljava/lang/ClassLoader;
astore 5
5: StackMap locals: javax.activation.MailcapCommandMap java.util.List java.lang.String int top java.lang.ClassLoader
StackMap stack:
aload 5
ifnull 8
6: aload 5
aload 2
invokestatic javax.activation.SecuritySupport.getResources:(Ljava/lang/ClassLoader;Ljava/lang/String;)[Ljava/net/URL;
astore 4
start local 4 7: goto 9
end local 4 8: StackMap locals:
StackMap stack:
aload 2
invokestatic javax.activation.SecuritySupport.getSystemResources:(Ljava/lang/String;)[Ljava/net/URL;
astore 4
start local 4 9: StackMap locals: javax.activation.MailcapCommandMap java.util.List java.lang.String int java.net.URL[] java.lang.ClassLoader
StackMap stack:
aload 4
ifnull 70
10: invokestatic com.sun.activation.registries.LogSupport.isLoggable:()Z
ifeq 12
11: ldc "MailcapCommandMap: getResources"
invokestatic com.sun.activation.registries.LogSupport.log:(Ljava/lang/String;)V
12: StackMap locals:
StackMap stack:
iconst_0
istore 6
start local 6 13: goto 65
14: StackMap locals: int
StackMap stack:
aload 4
iload 6
aaload
astore 7
start local 7 15: aconst_null
astore 8
start local 8 16: invokestatic com.sun.activation.registries.LogSupport.isLoggable:()Z
ifeq 18
17: new java.lang.StringBuilder
dup
ldc "MailcapCommandMap: URL "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 7
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokestatic com.sun.activation.registries.LogSupport.log:(Ljava/lang/String;)V
18: StackMap locals: java.net.URL java.io.InputStream
StackMap stack:
aload 7
invokestatic javax.activation.SecuritySupport.openStream:(Ljava/net/URL;)Ljava/io/InputStream;
astore 8
19: aload 8
ifnull 27
20: aload 1
new com.sun.activation.registries.MailcapFile
dup
aload 8
invokespecial com.sun.activation.registries.MailcapFile.<init>:(Ljava/io/InputStream;)V
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
21: iconst_1
istore 3
22: invokestatic com.sun.activation.registries.LogSupport.isLoggable:()Z
ifeq 60
23: new java.lang.StringBuilder
dup
ldc "MailcapCommandMap: successfully loaded mailcap file from URL: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
24: aload 7
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
25: invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokestatic com.sun.activation.registries.LogSupport.log:(Ljava/lang/String;)V
26: goto 60
27: StackMap locals:
StackMap stack:
invokestatic com.sun.activation.registries.LogSupport.isLoggable:()Z
ifeq 60
28: new java.lang.StringBuilder
dup
ldc "MailcapCommandMap: not loading mailcap file from URL: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
29: aload 7
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
30: invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokestatic com.sun.activation.registries.LogSupport.log:(Ljava/lang/String;)V
31: goto 60
StackMap locals:
StackMap stack: java.io.IOException
32: astore 9
start local 9 33: invokestatic com.sun.activation.registries.LogSupport.isLoggable:()Z
ifeq 39
34: new java.lang.StringBuilder
dup
ldc "MailcapCommandMap: can't load "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
35: aload 7
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
36: invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
37: aload 9
38: invokestatic com.sun.activation.registries.LogSupport.log:(Ljava/lang/String;Ljava/lang/Throwable;)V
end local 9 39: StackMap locals:
StackMap stack:
aload 8
ifnull 64
40: aload 8
invokevirtual java.io.InputStream.close:()V
41: goto 64
StackMap locals:
StackMap stack: java.io.IOException
42: pop
goto 64
43: StackMap locals:
StackMap stack: java.lang.SecurityException
astore 9
start local 9 44: invokestatic com.sun.activation.registries.LogSupport.isLoggable:()Z
ifeq 50
45: new java.lang.StringBuilder
dup
ldc "MailcapCommandMap: can't load "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
46: aload 7
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
47: invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
48: aload 9
49: invokestatic com.sun.activation.registries.LogSupport.log:(Ljava/lang/String;Ljava/lang/Throwable;)V
end local 9 50: StackMap locals:
StackMap stack:
aload 8
ifnull 64
51: aload 8
invokevirtual java.io.InputStream.close:()V
52: goto 64
StackMap locals:
StackMap stack: java.io.IOException
53: pop
goto 64
54: StackMap locals:
StackMap stack: java.lang.Throwable
astore 10
55: aload 8
ifnull 59
56: aload 8
invokevirtual java.io.InputStream.close:()V
57: goto 59
StackMap locals: javax.activation.MailcapCommandMap java.util.List java.lang.String int java.net.URL[] java.lang.ClassLoader int java.net.URL java.io.InputStream top java.lang.Throwable
StackMap stack: java.io.IOException
58: pop
59: StackMap locals:
StackMap stack:
aload 10
athrow
60: StackMap locals: javax.activation.MailcapCommandMap java.util.List java.lang.String int java.net.URL[] java.lang.ClassLoader int java.net.URL java.io.InputStream
StackMap stack:
aload 8
ifnull 64
61: aload 8
invokevirtual java.io.InputStream.close:()V
62: goto 64
StackMap locals:
StackMap stack: java.io.IOException
63: pop
end local 8 end local 7 64: StackMap locals:
StackMap stack:
iinc 6 1
StackMap locals:
StackMap stack:
65: iload 6
aload 4
arraylength
if_icmplt 14
end local 6 end local 5 end local 4 66: goto 70
StackMap locals: javax.activation.MailcapCommandMap java.util.List java.lang.String int
StackMap stack: java.lang.Exception
67: astore 4
start local 4 68: invokestatic com.sun.activation.registries.LogSupport.isLoggable:()Z
ifeq 70
69: new java.lang.StringBuilder
dup
ldc "MailcapCommandMap: can't load "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 2
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
aload 4
invokestatic com.sun.activation.registries.LogSupport.log:(Ljava/lang/String;Ljava/lang/Throwable;)V
end local 4 70: StackMap locals:
StackMap stack:
iload 3
ifne 76
71: invokestatic com.sun.activation.registries.LogSupport.isLoggable:()Z
ifeq 73
72: ldc "MailcapCommandMap: !anyLoaded"
invokestatic com.sun.activation.registries.LogSupport.log:(Ljava/lang/String;)V
73: StackMap locals:
StackMap stack:
aload 0
new java.lang.StringBuilder
dup
ldc "/"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 2
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual javax.activation.MailcapCommandMap.loadResource:(Ljava/lang/String;)Lcom/sun/activation/registries/MailcapFile;
astore 4
start local 4 74: aload 4
ifnull 76
75: aload 1
aload 4
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
end local 4 76: StackMap locals:
StackMap stack:
return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 77 0 this Ljavax/activation/MailcapCommandMap;
0 77 1 v Ljava/util/List;
0 77 2 name Ljava/lang/String;
1 77 3 anyLoaded Z
7 8 4 urls [Ljava/net/URL;
9 66 4 urls [Ljava/net/URL;
2 66 5 cld Ljava/lang/ClassLoader;
13 66 6 i I
15 64 7 url Ljava/net/URL;
16 64 8 clis Ljava/io/InputStream;
33 39 9 ioex Ljava/io/IOException;
44 50 9 sex Ljava/lang/SecurityException;
68 70 4 ex Ljava/lang/Exception;
74 76 4 mf Lcom/sun/activation/registries/MailcapFile;
Exception table:
from to target type
18 31 32 Class java.io.IOException
39 41 42 Class java.io.IOException
18 31 43 Class java.lang.SecurityException
50 52 53 Class java.io.IOException
18 39 54 any
43 50 54 any
55 57 58 Class java.io.IOException
60 62 63 Class java.io.IOException
1 66 67 Class java.lang.Exception
MethodParameters:
Name Flags
v
name
private com.sun.activation.registries.MailcapFile loadFile(java.lang.String);
descriptor: (Ljava/lang/String;)Lcom/sun/activation/registries/MailcapFile;
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aconst_null
astore 2
start local 2 1: new com.sun.activation.registries.MailcapFile
dup
aload 1
invokespecial com.sun.activation.registries.MailcapFile.<init>:(Ljava/lang/String;)V
astore 2
2: goto 4
StackMap locals: javax.activation.MailcapCommandMap java.lang.String com.sun.activation.registries.MailcapFile
StackMap stack: java.io.IOException
3: pop
4: StackMap locals:
StackMap stack:
aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Ljavax/activation/MailcapCommandMap;
0 5 1 name Ljava/lang/String;
1 5 2 mtf Lcom/sun/activation/registries/MailcapFile;
Exception table:
from to target type
1 2 3 Class java.io.IOException
MethodParameters:
Name Flags
name
public void <init>(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial javax.activation.MailcapCommandMap.<init>:()V
1: invokestatic com.sun.activation.registries.LogSupport.isLoggable:()Z
ifeq 3
2: new java.lang.StringBuilder
dup
ldc "MailcapCommandMap: load PROG from "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokestatic com.sun.activation.registries.LogSupport.log:(Ljava/lang/String;)V
3: StackMap locals: javax.activation.MailcapCommandMap java.lang.String
StackMap stack:
aload 0
getfield javax.activation.MailcapCommandMap.DB:[Lcom/sun/activation/registries/MailcapFile;
iconst_0
aaload
ifnonnull 5
4: aload 0
getfield javax.activation.MailcapCommandMap.DB:[Lcom/sun/activation/registries/MailcapFile;
iconst_0
new com.sun.activation.registries.MailcapFile
dup
aload 1
invokespecial com.sun.activation.registries.MailcapFile.<init>:(Ljava/lang/String;)V
aastore
5: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Ljavax/activation/MailcapCommandMap;
0 6 1 fileName Ljava/lang/String;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
fileName
public void <init>(java.io.InputStream);
descriptor: (Ljava/io/InputStream;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial javax.activation.MailcapCommandMap.<init>:()V
1: ldc "MailcapCommandMap: load PROG"
invokestatic com.sun.activation.registries.LogSupport.log:(Ljava/lang/String;)V
2: aload 0
getfield javax.activation.MailcapCommandMap.DB:[Lcom/sun/activation/registries/MailcapFile;
iconst_0
aaload
ifnonnull 6
3: aload 0
getfield javax.activation.MailcapCommandMap.DB:[Lcom/sun/activation/registries/MailcapFile;
iconst_0
new com.sun.activation.registries.MailcapFile
dup
aload 1
invokespecial com.sun.activation.registries.MailcapFile.<init>:(Ljava/io/InputStream;)V
aastore
4: goto 6
StackMap locals: javax.activation.MailcapCommandMap java.io.InputStream
StackMap stack: java.io.IOException
5: pop
6: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Ljavax/activation/MailcapCommandMap;
0 7 1 is Ljava/io/InputStream;
Exception table:
from to target type
3 4 5 Class java.io.IOException
MethodParameters:
Name Flags
is
public synchronized javax.activation.CommandInfo[] getPreferredCommands(java.lang.String);
descriptor: (Ljava/lang/String;)[Ljavax/activation/CommandInfo;
flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
Code:
stack=3, locals=5, args_size=2
start local 0 start local 1 0: new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
astore 2
start local 2 1: aload 1
ifnull 3
2: aload 1
getstatic java.util.Locale.ENGLISH:Ljava/util/Locale;
invokevirtual java.lang.String.toLowerCase:(Ljava/util/Locale;)Ljava/lang/String;
astore 1
3: StackMap locals: java.util.List
StackMap stack:
iconst_0
istore 3
start local 3 4: goto 11
5: StackMap locals: int
StackMap stack:
aload 0
getfield javax.activation.MailcapCommandMap.DB:[Lcom/sun/activation/registries/MailcapFile;
iload 3
aaload
ifnonnull 7
6: goto 10
7: StackMap locals:
StackMap stack:
aload 0
getfield javax.activation.MailcapCommandMap.DB:[Lcom/sun/activation/registries/MailcapFile;
iload 3
aaload
aload 1
invokevirtual com.sun.activation.registries.MailcapFile.getMailcapList:(Ljava/lang/String;)Ljava/util/Map;
astore 4
start local 4 8: aload 4
ifnull 10
9: aload 0
aload 4
aload 2
invokevirtual javax.activation.MailcapCommandMap.appendPrefCmdsToList:(Ljava/util/Map;Ljava/util/List;)V
end local 4 10: StackMap locals:
StackMap stack:
iinc 3 1
StackMap locals:
StackMap stack:
11: iload 3
aload 0
getfield javax.activation.MailcapCommandMap.DB:[Lcom/sun/activation/registries/MailcapFile;
arraylength
if_icmplt 5
end local 3 12: iconst_0
istore 3
start local 3 13: goto 20
14: StackMap locals:
StackMap stack:
aload 0
getfield javax.activation.MailcapCommandMap.DB:[Lcom/sun/activation/registries/MailcapFile;
iload 3
aaload
ifnonnull 16
15: goto 19
16: StackMap locals:
StackMap stack:
aload 0
getfield javax.activation.MailcapCommandMap.DB:[Lcom/sun/activation/registries/MailcapFile;
iload 3
aaload
aload 1
invokevirtual com.sun.activation.registries.MailcapFile.getMailcapFallbackList:(Ljava/lang/String;)Ljava/util/Map;
astore 4
start local 4 17: aload 4
ifnull 19
18: aload 0
aload 4
aload 2
invokevirtual javax.activation.MailcapCommandMap.appendPrefCmdsToList:(Ljava/util/Map;Ljava/util/List;)V
end local 4 19: StackMap locals:
StackMap stack:
iinc 3 1
StackMap locals:
StackMap stack:
20: iload 3
aload 0
getfield javax.activation.MailcapCommandMap.DB:[Lcom/sun/activation/registries/MailcapFile;
arraylength
if_icmplt 14
end local 3 21: aload 2
invokeinterface java.util.List.size:()I
anewarray javax.activation.CommandInfo
astore 3
start local 3 22: aload 2
aload 3
invokeinterface java.util.List.toArray:([Ljava/lang/Object;)[Ljava/lang/Object;
checkcast javax.activation.CommandInfo[]
astore 3
23: aload 3
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 24 0 this Ljavax/activation/MailcapCommandMap;
0 24 1 mimeType Ljava/lang/String;
1 24 2 cmdList Ljava/util/List;
4 12 3 i I
8 10 4 cmdMap Ljava/util/Map;
13 21 3 i I
17 19 4 cmdMap Ljava/util/Map;
22 24 3 cmdInfos [Ljavax/activation/CommandInfo;
MethodParameters:
Name Flags
mimeType
private void appendPrefCmdsToList(java.util.Map, java.util.List);
descriptor: (Ljava/util/Map;Ljava/util/List;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=7, args_size=3
start local 0 start local 1 start local 2 0: aload 1
invokeinterface java.util.Map.keySet:()Ljava/util/Set;
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
astore 3
start local 3 1: goto 7
2: StackMap locals: java.util.Iterator
StackMap stack:
aload 3
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.lang.String
astore 4
start local 4 3: aload 0
aload 2
aload 4
invokevirtual javax.activation.MailcapCommandMap.checkForVerb:(Ljava/util/List;Ljava/lang/String;)Z
ifne 7
4: aload 1
aload 4
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.util.List
astore 5
start local 5 5: aload 5
iconst_0
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
checkcast java.lang.String
astore 6
start local 6 6: aload 2
new javax.activation.CommandInfo
dup
aload 4
aload 6
invokespecial javax.activation.CommandInfo.<init>:(Ljava/lang/String;Ljava/lang/String;)V
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
end local 6 end local 5 end local 4 7: StackMap locals:
StackMap stack:
aload 3
invokeinterface java.util.Iterator.hasNext:()Z
ifne 2
8: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Ljavax/activation/MailcapCommandMap;
0 9 1 cmdHash Ljava/util/Map;
0 9 2 cmdList Ljava/util/List;
1 9 3 verb_enum Ljava/util/Iterator;
3 7 4 verb Ljava/lang/String;
5 7 5 cmdList2 Ljava/util/List;
6 7 6 className Ljava/lang/String;
MethodParameters:
Name Flags
cmdHash
cmdList
private boolean checkForVerb(java.util.List, java.lang.String);
descriptor: (Ljava/util/List;Ljava/lang/String;)Z
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=5, args_size=3
start local 0 start local 1 start local 2 0: aload 1
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 3
start local 3 1: goto 6
2: StackMap locals: java.util.Iterator
StackMap stack:
aload 3
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast javax.activation.CommandInfo
invokevirtual javax.activation.CommandInfo.getCommandName:()Ljava/lang/String;
3: astore 4
start local 4 4: aload 4
aload 2
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 6
5: iconst_1
ireturn
end local 4 6: StackMap locals:
StackMap stack:
aload 3
invokeinterface java.util.Iterator.hasNext:()Z
ifne 2
7: iconst_0
ireturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Ljavax/activation/MailcapCommandMap;
0 8 1 cmdList Ljava/util/List;
0 8 2 verb Ljava/lang/String;
1 8 3 ee Ljava/util/Iterator;
4 6 4 enum_verb Ljava/lang/String;
MethodParameters:
Name Flags
cmdList
verb
public synchronized javax.activation.CommandInfo[] getAllCommands(java.lang.String);
descriptor: (Ljava/lang/String;)[Ljavax/activation/CommandInfo;
flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
Code:
stack=3, locals=5, args_size=2
start local 0 start local 1 0: new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
astore 2
start local 2 1: aload 1
ifnull 3
2: aload 1
getstatic java.util.Locale.ENGLISH:Ljava/util/Locale;
invokevirtual java.lang.String.toLowerCase:(Ljava/util/Locale;)Ljava/lang/String;
astore 1
3: StackMap locals: java.util.List
StackMap stack:
iconst_0
istore 3
start local 3 4: goto 11
5: StackMap locals: int
StackMap stack:
aload 0
getfield javax.activation.MailcapCommandMap.DB:[Lcom/sun/activation/registries/MailcapFile;
iload 3
aaload
ifnonnull 7
6: goto 10
7: StackMap locals:
StackMap stack:
aload 0
getfield javax.activation.MailcapCommandMap.DB:[Lcom/sun/activation/registries/MailcapFile;
iload 3
aaload
aload 1
invokevirtual com.sun.activation.registries.MailcapFile.getMailcapList:(Ljava/lang/String;)Ljava/util/Map;
astore 4
start local 4 8: aload 4
ifnull 10
9: aload 0
aload 4
aload 2
invokevirtual javax.activation.MailcapCommandMap.appendCmdsToList:(Ljava/util/Map;Ljava/util/List;)V
end local 4 10: StackMap locals:
StackMap stack:
iinc 3 1
StackMap locals:
StackMap stack:
11: iload 3
aload 0
getfield javax.activation.MailcapCommandMap.DB:[Lcom/sun/activation/registries/MailcapFile;
arraylength
if_icmplt 5
end local 3 12: iconst_0
istore 3
start local 3 13: goto 20
14: StackMap locals:
StackMap stack:
aload 0
getfield javax.activation.MailcapCommandMap.DB:[Lcom/sun/activation/registries/MailcapFile;
iload 3
aaload
ifnonnull 16
15: goto 19
16: StackMap locals:
StackMap stack:
aload 0
getfield javax.activation.MailcapCommandMap.DB:[Lcom/sun/activation/registries/MailcapFile;
iload 3
aaload
aload 1
invokevirtual com.sun.activation.registries.MailcapFile.getMailcapFallbackList:(Ljava/lang/String;)Ljava/util/Map;
astore 4
start local 4 17: aload 4
ifnull 19
18: aload 0
aload 4
aload 2
invokevirtual javax.activation.MailcapCommandMap.appendCmdsToList:(Ljava/util/Map;Ljava/util/List;)V
end local 4 19: StackMap locals:
StackMap stack:
iinc 3 1
StackMap locals:
StackMap stack:
20: iload 3
aload 0
getfield javax.activation.MailcapCommandMap.DB:[Lcom/sun/activation/registries/MailcapFile;
arraylength
if_icmplt 14
end local 3 21: aload 2
invokeinterface java.util.List.size:()I
anewarray javax.activation.CommandInfo
astore 3
start local 3 22: aload 2
aload 3
invokeinterface java.util.List.toArray:([Ljava/lang/Object;)[Ljava/lang/Object;
checkcast javax.activation.CommandInfo[]
astore 3
23: aload 3
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 24 0 this Ljavax/activation/MailcapCommandMap;
0 24 1 mimeType Ljava/lang/String;
1 24 2 cmdList Ljava/util/List;
4 12 3 i I
8 10 4 cmdMap Ljava/util/Map;
13 21 3 i I
17 19 4 cmdMap Ljava/util/Map;
22 24 3 cmdInfos [Ljavax/activation/CommandInfo;
MethodParameters:
Name Flags
mimeType
private void appendCmdsToList(java.util.Map, java.util.List);
descriptor: (Ljava/util/Map;Ljava/util/List;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=8, args_size=3
start local 0 start local 1 start local 2 0: aload 1
invokeinterface java.util.Map.keySet:()Ljava/util/Set;
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
astore 3
start local 3 1: goto 9
2: StackMap locals: java.util.Iterator
StackMap stack:
aload 3
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.lang.String
astore 4
start local 4 3: aload 1
aload 4
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.util.List
astore 5
start local 5 4: aload 5
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 6
start local 6 5: goto 8
6: StackMap locals: java.lang.String java.util.List java.util.Iterator
StackMap stack:
aload 6
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.lang.String
astore 7
start local 7 7: aload 2
new javax.activation.CommandInfo
dup
aload 4
aload 7
invokespecial javax.activation.CommandInfo.<init>:(Ljava/lang/String;Ljava/lang/String;)V
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
end local 7 8: StackMap locals:
StackMap stack:
aload 6
invokeinterface java.util.Iterator.hasNext:()Z
ifne 6
end local 6 end local 5 end local 4 9: StackMap locals:
StackMap stack:
aload 3
invokeinterface java.util.Iterator.hasNext:()Z
ifne 2
10: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Ljavax/activation/MailcapCommandMap;
0 11 1 typeHash Ljava/util/Map;
0 11 2 cmdList Ljava/util/List;
1 11 3 verb_enum Ljava/util/Iterator;
3 9 4 verb Ljava/lang/String;
4 9 5 cmdList2 Ljava/util/List;
5 9 6 cmd_enum Ljava/util/Iterator;
7 8 7 cmd Ljava/lang/String;
MethodParameters:
Name Flags
typeHash
cmdList
public synchronized javax.activation.CommandInfo getCommand(java.lang.String, java.lang.String);
descriptor: (Ljava/lang/String;Ljava/lang/String;)Ljavax/activation/CommandInfo;
flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
Code:
stack=4, locals=7, args_size=3
start local 0 start local 1 start local 2 0: aload 1
ifnull 2
1: aload 1
getstatic java.util.Locale.ENGLISH:Ljava/util/Locale;
invokevirtual java.lang.String.toLowerCase:(Ljava/util/Locale;)Ljava/lang/String;
astore 1
2: StackMap locals:
StackMap stack:
iconst_0
istore 3
start local 3 3: goto 14
4: StackMap locals: int
StackMap stack:
aload 0
getfield javax.activation.MailcapCommandMap.DB:[Lcom/sun/activation/registries/MailcapFile;
iload 3
aaload
ifnonnull 6
5: goto 13
6: StackMap locals:
StackMap stack:
aload 0
getfield javax.activation.MailcapCommandMap.DB:[Lcom/sun/activation/registries/MailcapFile;
iload 3
aaload
aload 1
invokevirtual com.sun.activation.registries.MailcapFile.getMailcapList:(Ljava/lang/String;)Ljava/util/Map;
astore 4
start local 4 7: aload 4
ifnull 13
8: aload 4
aload 2
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.util.List
astore 5
start local 5 9: aload 5
ifnull 13
10: aload 5
iconst_0
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
checkcast java.lang.String
astore 6
start local 6 11: aload 6
ifnull 13
12: new javax.activation.CommandInfo
dup
aload 2
aload 6
invokespecial javax.activation.CommandInfo.<init>:(Ljava/lang/String;Ljava/lang/String;)V
areturn
end local 6 end local 5 end local 4 13: StackMap locals:
StackMap stack:
iinc 3 1
StackMap locals:
StackMap stack:
14: iload 3
aload 0
getfield javax.activation.MailcapCommandMap.DB:[Lcom/sun/activation/registries/MailcapFile;
arraylength
if_icmplt 4
end local 3 15: iconst_0
istore 3
start local 3 16: goto 27
17: StackMap locals:
StackMap stack:
aload 0
getfield javax.activation.MailcapCommandMap.DB:[Lcom/sun/activation/registries/MailcapFile;
iload 3
aaload
ifnonnull 19
18: goto 26
19: StackMap locals:
StackMap stack:
aload 0
getfield javax.activation.MailcapCommandMap.DB:[Lcom/sun/activation/registries/MailcapFile;
iload 3
aaload
aload 1
invokevirtual com.sun.activation.registries.MailcapFile.getMailcapFallbackList:(Ljava/lang/String;)Ljava/util/Map;
astore 4
start local 4 20: aload 4
ifnull 26
21: aload 4
aload 2
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.util.List
astore 5
start local 5 22: aload 5
ifnull 26
23: aload 5
iconst_0
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
checkcast java.lang.String
astore 6
start local 6 24: aload 6
ifnull 26
25: new javax.activation.CommandInfo
dup
aload 2
aload 6
invokespecial javax.activation.CommandInfo.<init>:(Ljava/lang/String;Ljava/lang/String;)V
areturn
end local 6 end local 5 end local 4 26: StackMap locals:
StackMap stack:
iinc 3 1
StackMap locals:
StackMap stack:
27: iload 3
aload 0
getfield javax.activation.MailcapCommandMap.DB:[Lcom/sun/activation/registries/MailcapFile;
arraylength
if_icmplt 17
end local 3 28: aconst_null
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 29 0 this Ljavax/activation/MailcapCommandMap;
0 29 1 mimeType Ljava/lang/String;
0 29 2 cmdName Ljava/lang/String;
3 15 3 i I
7 13 4 cmdMap Ljava/util/Map;
9 13 5 v Ljava/util/List;
11 13 6 cmdClassName Ljava/lang/String;
16 28 3 i I
20 26 4 cmdMap Ljava/util/Map;
22 26 5 v Ljava/util/List;
24 26 6 cmdClassName Ljava/lang/String;
MethodParameters:
Name Flags
mimeType
cmdName
public synchronized void addMailcap(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: ldc "MailcapCommandMap: add to PROG"
invokestatic com.sun.activation.registries.LogSupport.log:(Ljava/lang/String;)V
1: aload 0
getfield javax.activation.MailcapCommandMap.DB:[Lcom/sun/activation/registries/MailcapFile;
iconst_0
aaload
ifnonnull 3
2: aload 0
getfield javax.activation.MailcapCommandMap.DB:[Lcom/sun/activation/registries/MailcapFile;
iconst_0
new com.sun.activation.registries.MailcapFile
dup
invokespecial com.sun.activation.registries.MailcapFile.<init>:()V
aastore
3: StackMap locals:
StackMap stack:
aload 0
getfield javax.activation.MailcapCommandMap.DB:[Lcom/sun/activation/registries/MailcapFile;
iconst_0
aaload
aload 1
invokevirtual com.sun.activation.registries.MailcapFile.appendToMailcap:(Ljava/lang/String;)V
4: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Ljavax/activation/MailcapCommandMap;
0 5 1 mail_cap Ljava/lang/String;
MethodParameters:
Name Flags
mail_cap
public synchronized javax.activation.DataContentHandler createDataContentHandler(java.lang.String);
descriptor: (Ljava/lang/String;)Ljavax/activation/DataContentHandler;
flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
Code:
stack=3, locals=7, args_size=2
start local 0 start local 1 0: invokestatic com.sun.activation.registries.LogSupport.isLoggable:()Z
ifeq 3
1: new java.lang.StringBuilder
dup
ldc "MailcapCommandMap: createDataContentHandler for "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
2: invokestatic com.sun.activation.registries.LogSupport.log:(Ljava/lang/String;)V
3: StackMap locals:
StackMap stack:
aload 1
ifnull 5
4: aload 1
getstatic java.util.Locale.ENGLISH:Ljava/util/Locale;
invokevirtual java.lang.String.toLowerCase:(Ljava/util/Locale;)Ljava/lang/String;
astore 1
5: StackMap locals:
StackMap stack:
iconst_0
istore 2
start local 2 6: goto 20
7: StackMap locals: int
StackMap stack:
aload 0
getfield javax.activation.MailcapCommandMap.DB:[Lcom/sun/activation/registries/MailcapFile;
iload 2
aaload
ifnonnull 9
8: goto 19
9: StackMap locals:
StackMap stack:
invokestatic com.sun.activation.registries.LogSupport.isLoggable:()Z
ifeq 11
10: new java.lang.StringBuilder
dup
ldc " search DB #"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
iload 2
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokestatic com.sun.activation.registries.LogSupport.log:(Ljava/lang/String;)V
11: StackMap locals:
StackMap stack:
aload 0
getfield javax.activation.MailcapCommandMap.DB:[Lcom/sun/activation/registries/MailcapFile;
iload 2
aaload
aload 1
invokevirtual com.sun.activation.registries.MailcapFile.getMailcapList:(Ljava/lang/String;)Ljava/util/Map;
astore 3
start local 3 12: aload 3
ifnull 19
13: aload 3
ldc "content-handler"
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.util.List
astore 4
start local 4 14: aload 4
ifnull 19
15: aload 4
iconst_0
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
checkcast java.lang.String
astore 5
start local 5 16: aload 0
aload 5
invokevirtual javax.activation.MailcapCommandMap.getDataContentHandler:(Ljava/lang/String;)Ljavax/activation/DataContentHandler;
astore 6
start local 6 17: aload 6
ifnull 19
18: aload 6
areturn
end local 6 end local 5 end local 4 end local 3 19: StackMap locals:
StackMap stack:
iinc 2 1
StackMap locals:
StackMap stack:
20: iload 2
aload 0
getfield javax.activation.MailcapCommandMap.DB:[Lcom/sun/activation/registries/MailcapFile;
arraylength
if_icmplt 7
end local 2 21: iconst_0
istore 2
start local 2 22: goto 36
23: StackMap locals:
StackMap stack:
aload 0
getfield javax.activation.MailcapCommandMap.DB:[Lcom/sun/activation/registries/MailcapFile;
iload 2
aaload
ifnonnull 25
24: goto 35
25: StackMap locals:
StackMap stack:
invokestatic com.sun.activation.registries.LogSupport.isLoggable:()Z
ifeq 27
26: new java.lang.StringBuilder
dup
ldc " search fallback DB #"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
iload 2
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokestatic com.sun.activation.registries.LogSupport.log:(Ljava/lang/String;)V
27: StackMap locals:
StackMap stack:
aload 0
getfield javax.activation.MailcapCommandMap.DB:[Lcom/sun/activation/registries/MailcapFile;
iload 2
aaload
aload 1
invokevirtual com.sun.activation.registries.MailcapFile.getMailcapFallbackList:(Ljava/lang/String;)Ljava/util/Map;
astore 3
start local 3 28: aload 3
ifnull 35
29: aload 3
ldc "content-handler"
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.util.List
astore 4
start local 4 30: aload 4
ifnull 35
31: aload 4
iconst_0
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
checkcast java.lang.String
astore 5
start local 5 32: aload 0
aload 5
invokevirtual javax.activation.MailcapCommandMap.getDataContentHandler:(Ljava/lang/String;)Ljavax/activation/DataContentHandler;
astore 6
start local 6 33: aload 6
ifnull 35
34: aload 6
areturn
end local 6 end local 5 end local 4 end local 3 35: StackMap locals:
StackMap stack:
iinc 2 1
StackMap locals:
StackMap stack:
36: iload 2
aload 0
getfield javax.activation.MailcapCommandMap.DB:[Lcom/sun/activation/registries/MailcapFile;
arraylength
if_icmplt 23
end local 2 37: aconst_null
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 38 0 this Ljavax/activation/MailcapCommandMap;
0 38 1 mimeType Ljava/lang/String;
6 21 2 i I
12 19 3 cmdMap Ljava/util/Map;
14 19 4 v Ljava/util/List;
16 19 5 name Ljava/lang/String;
17 19 6 dch Ljavax/activation/DataContentHandler;
22 37 2 i I
28 35 3 cmdMap Ljava/util/Map;
30 35 4 v Ljava/util/List;
32 35 5 name Ljava/lang/String;
33 35 6 dch Ljavax/activation/DataContentHandler;
MethodParameters:
Name Flags
mimeType
private javax.activation.DataContentHandler getDataContentHandler(java.lang.String);
descriptor: (Ljava/lang/String;)Ljavax/activation/DataContentHandler;
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=4, args_size=2
start local 0 start local 1 0: invokestatic com.sun.activation.registries.LogSupport.isLoggable:()Z
ifeq 2
1: ldc " got content-handler"
invokestatic com.sun.activation.registries.LogSupport.log:(Ljava/lang/String;)V
2: StackMap locals:
StackMap stack:
invokestatic com.sun.activation.registries.LogSupport.isLoggable:()Z
ifeq 4
3: new java.lang.StringBuilder
dup
ldc " class "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokestatic com.sun.activation.registries.LogSupport.log:(Ljava/lang/String;)V
4: StackMap locals:
StackMap stack:
aconst_null
astore 2
start local 2 5: invokestatic javax.activation.SecuritySupport.getContextClassLoader:()Ljava/lang/ClassLoader;
astore 2
6: aload 2
ifnonnull 8
7: aload 0
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
invokevirtual java.lang.Class.getClassLoader:()Ljava/lang/ClassLoader;
astore 2
8: StackMap locals: java.lang.ClassLoader
StackMap stack:
aconst_null
astore 3
start local 3 9: aload 2
aload 1
invokevirtual java.lang.ClassLoader.loadClass:(Ljava/lang/String;)Ljava/lang/Class;
astore 3
10: goto 13
StackMap locals: javax.activation.MailcapCommandMap java.lang.String java.lang.ClassLoader java.lang.Class
StackMap stack: java.lang.Exception
11: pop
12: aload 1
invokestatic java.lang.Class.forName:(Ljava/lang/String;)Ljava/lang/Class;
astore 3
13: StackMap locals:
StackMap stack:
aload 3
invokevirtual java.lang.Class.newInstance:()Ljava/lang/Object;
checkcast javax.activation.DataContentHandler
14: areturn
end local 3 end local 2 15: StackMap locals: javax.activation.MailcapCommandMap java.lang.String
StackMap stack: java.lang.IllegalAccessException
astore 2
start local 2 16: invokestatic com.sun.activation.registries.LogSupport.isLoggable:()Z
ifeq 26
17: new java.lang.StringBuilder
dup
ldc "Can't load DCH "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
aload 2
invokestatic com.sun.activation.registries.LogSupport.log:(Ljava/lang/String;Ljava/lang/Throwable;)V
end local 2 18: goto 26
19: StackMap locals:
StackMap stack: java.lang.ClassNotFoundException
astore 2
start local 2 20: invokestatic com.sun.activation.registries.LogSupport.isLoggable:()Z
ifeq 26
21: new java.lang.StringBuilder
dup
ldc "Can't load DCH "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
aload 2
invokestatic com.sun.activation.registries.LogSupport.log:(Ljava/lang/String;Ljava/lang/Throwable;)V
end local 2 22: goto 26
23: StackMap locals:
StackMap stack: java.lang.InstantiationException
astore 2
start local 2 24: invokestatic com.sun.activation.registries.LogSupport.isLoggable:()Z
ifeq 26
25: new java.lang.StringBuilder
dup
ldc "Can't load DCH "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
aload 2
invokestatic com.sun.activation.registries.LogSupport.log:(Ljava/lang/String;Ljava/lang/Throwable;)V
end local 2 26: StackMap locals:
StackMap stack:
aconst_null
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 27 0 this Ljavax/activation/MailcapCommandMap;
0 27 1 name Ljava/lang/String;
5 15 2 cld Ljava/lang/ClassLoader;
9 15 3 cl Ljava/lang/Class;
16 18 2 e Ljava/lang/IllegalAccessException;
20 22 2 e Ljava/lang/ClassNotFoundException;
24 26 2 e Ljava/lang/InstantiationException;
Exception table:
from to target type
9 10 11 Class java.lang.Exception
4 14 15 Class java.lang.IllegalAccessException
4 14 19 Class java.lang.ClassNotFoundException
4 14 23 Class java.lang.InstantiationException
MethodParameters:
Name Flags
name
public synchronized java.lang.String[] getMimeTypes();
descriptor: ()[Ljava/lang/String;
flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
Code:
stack=3, locals=5, args_size=1
start local 0 0: new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
astore 1
start local 1 1: iconst_0
istore 2
start local 2 2: goto 14
3: StackMap locals: java.util.List int
StackMap stack:
aload 0
getfield javax.activation.MailcapCommandMap.DB:[Lcom/sun/activation/registries/MailcapFile;
iload 2
aaload
ifnonnull 5
4: goto 13
5: StackMap locals:
StackMap stack:
aload 0
getfield javax.activation.MailcapCommandMap.DB:[Lcom/sun/activation/registries/MailcapFile;
iload 2
aaload
invokevirtual com.sun.activation.registries.MailcapFile.getMimeTypes:()[Ljava/lang/String;
astore 3
start local 3 6: aload 3
ifnull 13
7: iconst_0
istore 4
start local 4 8: goto 12
9: StackMap locals: java.lang.String[] int
StackMap stack:
aload 1
aload 3
iload 4
aaload
invokeinterface java.util.List.contains:(Ljava/lang/Object;)Z
ifne 11
10: aload 1
aload 3
iload 4
aaload
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
11: StackMap locals:
StackMap stack:
iinc 4 1
StackMap locals:
StackMap stack:
12: iload 4
aload 3
arraylength
if_icmplt 9
end local 4 end local 3 13: StackMap locals:
StackMap stack:
iinc 2 1
StackMap locals:
StackMap stack:
14: iload 2
aload 0
getfield javax.activation.MailcapCommandMap.DB:[Lcom/sun/activation/registries/MailcapFile;
arraylength
if_icmplt 3
end local 2 15: aload 1
invokeinterface java.util.List.size:()I
anewarray java.lang.String
astore 2
start local 2 16: aload 1
aload 2
invokeinterface java.util.List.toArray:([Ljava/lang/Object;)[Ljava/lang/Object;
checkcast java.lang.String[]
astore 2
17: aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 18 0 this Ljavax/activation/MailcapCommandMap;
1 18 1 mtList Ljava/util/List;
2 15 2 i I
6 13 3 ts [Ljava/lang/String;
8 13 4 j I
16 18 2 mts [Ljava/lang/String;
public synchronized java.lang.String[] getNativeCommands(java.lang.String);
descriptor: (Ljava/lang/String;)[Ljava/lang/String;
flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
Code:
stack=3, locals=6, args_size=2
start local 0 start local 1 0: new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
astore 2
start local 2 1: aload 1
ifnull 3
2: aload 1
getstatic java.util.Locale.ENGLISH:Ljava/util/Locale;
invokevirtual java.lang.String.toLowerCase:(Ljava/util/Locale;)Ljava/lang/String;
astore 1
3: StackMap locals: java.util.List
StackMap stack:
iconst_0
istore 3
start local 3 4: goto 16
5: StackMap locals: int
StackMap stack:
aload 0
getfield javax.activation.MailcapCommandMap.DB:[Lcom/sun/activation/registries/MailcapFile;
iload 3
aaload
ifnonnull 7
6: goto 15
7: StackMap locals:
StackMap stack:
aload 0
getfield javax.activation.MailcapCommandMap.DB:[Lcom/sun/activation/registries/MailcapFile;
iload 3
aaload
aload 1
invokevirtual com.sun.activation.registries.MailcapFile.getNativeCommands:(Ljava/lang/String;)[Ljava/lang/String;
astore 4
start local 4 8: aload 4
ifnull 15
9: iconst_0
istore 5
start local 5 10: goto 14
11: StackMap locals: java.lang.String[] int
StackMap stack:
aload 2
aload 4
iload 5
aaload
invokeinterface java.util.List.contains:(Ljava/lang/Object;)Z
ifne 13
12: aload 2
aload 4
iload 5
aaload
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
13: StackMap locals:
StackMap stack:
iinc 5 1
StackMap locals:
StackMap stack:
14: iload 5
aload 4
arraylength
if_icmplt 11
end local 5 end local 4 15: StackMap locals:
StackMap stack:
iinc 3 1
StackMap locals:
StackMap stack:
16: iload 3
aload 0
getfield javax.activation.MailcapCommandMap.DB:[Lcom/sun/activation/registries/MailcapFile;
arraylength
if_icmplt 5
end local 3 17: aload 2
invokeinterface java.util.List.size:()I
anewarray java.lang.String
astore 3
start local 3 18: aload 2
aload 3
invokeinterface java.util.List.toArray:([Ljava/lang/Object;)[Ljava/lang/Object;
checkcast java.lang.String[]
astore 3
19: aload 3
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 20 0 this Ljavax/activation/MailcapCommandMap;
0 20 1 mimeType Ljava/lang/String;
1 20 2 cmdList Ljava/util/List;
4 17 3 i I
8 15 4 cmds [Ljava/lang/String;
10 15 5 j I
18 20 3 cmds [Ljava/lang/String;
MethodParameters:
Name Flags
mimeType
}
SourceFile: "MailcapCommandMap.java"
NestMembers:
javax.activation.MailcapCommandMap$1
InnerClasses:
javax.activation.MailcapCommandMap$1