public class javax.activation.MimeTypeParameterList
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: javax.activation.MimeTypeParameterList
super_class: java.lang.Object
{
private java.util.Hashtable parameters;
descriptor: Ljava/util/Hashtable;
flags: (0x0002) ACC_PRIVATE
private static final java.lang.String TSPECIALS;
descriptor: Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: "()<>@,;:/[]?=\\\""
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
new java.util.Hashtable
dup
invokespecial java.util.Hashtable.<init>:()V
putfield javax.activation.MimeTypeParameterList.parameters:Ljava/util/Hashtable;
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljavax/activation/MimeTypeParameterList;
public void <init>(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
new java.util.Hashtable
dup
invokespecial java.util.Hashtable.<init>:()V
putfield javax.activation.MimeTypeParameterList.parameters:Ljava/util/Hashtable;
2: aload 0
aload 1
invokevirtual javax.activation.MimeTypeParameterList.parse:(Ljava/lang/String;)V
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljavax/activation/MimeTypeParameterList;
0 4 1 parameterList Ljava/lang/String;
Exceptions:
throws javax.activation.MimeTypeParseException
MethodParameters:
Name Flags
parameterList
protected void parse(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=5, locals=8, args_size=2
start local 0 start local 1 0: aload 1
ifnonnull 2
1: return
2: StackMap locals:
StackMap stack:
aload 1
invokevirtual java.lang.String.length:()I
istore 2
start local 2 3: iload 2
ifgt 5
4: return
5: StackMap locals: int
StackMap stack:
aload 1
iconst_0
invokestatic javax.activation.MimeTypeParameterList.skipWhiteSpace:(Ljava/lang/String;I)I
istore 3
start local 3 6: goto 64
start local 4 7: StackMap locals: int int
StackMap stack:
iinc 3 1
8: aload 1
iload 3
invokestatic javax.activation.MimeTypeParameterList.skipWhiteSpace:(Ljava/lang/String;I)I
istore 3
9: iload 3
iload 2
if_icmplt 11
10: return
11: StackMap locals:
StackMap stack:
iload 3
istore 5
start local 5 12: goto 14
13: StackMap locals: int
StackMap stack:
iinc 3 1
14: StackMap locals:
StackMap stack:
iload 3
iload 2
if_icmpge 15
aload 1
iload 3
invokevirtual java.lang.String.charAt:(I)C
invokestatic javax.activation.MimeTypeParameterList.isTokenChar:(C)Z
ifne 13
15: StackMap locals:
StackMap stack:
aload 1
iload 5
iload 3
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
16: getstatic java.util.Locale.ENGLISH:Ljava/util/Locale;
invokevirtual java.lang.String.toLowerCase:(Ljava/util/Locale;)Ljava/lang/String;
17: astore 6
start local 6 18: aload 1
iload 3
invokestatic javax.activation.MimeTypeParameterList.skipWhiteSpace:(Ljava/lang/String;I)I
istore 3
19: iload 3
iload 2
if_icmpge 20
aload 1
iload 3
invokevirtual java.lang.String.charAt:(I)C
bipush 61
if_icmpeq 23
20: StackMap locals: java.lang.String
StackMap stack:
new javax.activation.MimeTypeParseException
dup
21: ldc "Couldn't find the '=' that separates a parameter name from its value."
22: invokespecial javax.activation.MimeTypeParseException.<init>:(Ljava/lang/String;)V
athrow
23: StackMap locals:
StackMap stack:
iinc 3 1
24: aload 1
iload 3
invokestatic javax.activation.MimeTypeParameterList.skipWhiteSpace:(Ljava/lang/String;I)I
istore 3
25: iload 3
iload 2
if_icmplt 29
26: new javax.activation.MimeTypeParseException
dup
27: new java.lang.StringBuilder
dup
ldc "Couldn't find a value for parameter named "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 6
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
28: invokespecial javax.activation.MimeTypeParseException.<init>:(Ljava/lang/String;)V
athrow
29: StackMap locals:
StackMap stack:
aload 1
iload 3
invokevirtual java.lang.String.charAt:(I)C
istore 4
30: iload 4
bipush 34
if_icmpne 52
31: iinc 3 1
32: iload 3
iload 2
if_icmplt 36
33: new javax.activation.MimeTypeParseException
dup
34: ldc "Encountered unterminated quoted parameter value."
35: invokespecial javax.activation.MimeTypeParseException.<init>:(Ljava/lang/String;)V
athrow
36: StackMap locals:
StackMap stack:
iload 3
istore 5
37: goto 44
38: StackMap locals:
StackMap stack:
aload 1
iload 3
invokevirtual java.lang.String.charAt:(I)C
istore 4
39: iload 4
bipush 34
if_icmpne 41
40: goto 45
41: StackMap locals:
StackMap stack:
iload 4
bipush 92
if_icmpne 43
42: iinc 3 1
43: StackMap locals:
StackMap stack:
iinc 3 1
44: StackMap locals:
StackMap stack:
iload 3
iload 2
if_icmplt 38
45: StackMap locals:
StackMap stack:
iload 4
bipush 34
if_icmpeq 49
46: new javax.activation.MimeTypeParseException
dup
47: ldc "Encountered unterminated quoted parameter value."
48: invokespecial javax.activation.MimeTypeParseException.<init>:(Ljava/lang/String;)V
athrow
49: StackMap locals:
StackMap stack:
aload 1
iload 5
iload 3
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
invokestatic javax.activation.MimeTypeParameterList.unquote:(Ljava/lang/String;)Ljava/lang/String;
astore 7
start local 7 50: iinc 3 1
51: goto 62
end local 7 StackMap locals:
StackMap stack:
52: iload 4
invokestatic javax.activation.MimeTypeParameterList.isTokenChar:(C)Z
ifeq 59
53: iload 3
istore 5
54: goto 56
55: StackMap locals:
StackMap stack:
iinc 3 1
56: StackMap locals:
StackMap stack:
iload 3
iload 2
if_icmpge 57
aload 1
iload 3
invokevirtual java.lang.String.charAt:(I)C
invokestatic javax.activation.MimeTypeParameterList.isTokenChar:(C)Z
ifne 55
57: StackMap locals:
StackMap stack:
aload 1
iload 5
iload 3
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
astore 7
start local 7 58: goto 62
end local 7 59: StackMap locals:
StackMap stack:
new javax.activation.MimeTypeParseException
dup
60: new java.lang.StringBuilder
dup
ldc "Unexpected character encountered at index "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
iload 3
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
61: invokespecial javax.activation.MimeTypeParseException.<init>:(Ljava/lang/String;)V
athrow
start local 7 62: StackMap locals: java.lang.String
StackMap stack:
aload 0
getfield javax.activation.MimeTypeParameterList.parameters:Ljava/util/Hashtable;
aload 6
aload 7
invokevirtual java.util.Hashtable.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
end local 7 end local 6 end local 5 63: aload 1
iload 3
invokestatic javax.activation.MimeTypeParameterList.skipWhiteSpace:(Ljava/lang/String;I)I
istore 3
end local 4 64: StackMap locals: javax.activation.MimeTypeParameterList java.lang.String int int
StackMap stack:
iload 3
iload 2
if_icmpge 66
aload 1
iload 3
invokevirtual java.lang.String.charAt:(I)C
dup
istore 4
start local 4 65: bipush 59
if_icmpeq 7
end local 4 66: StackMap locals:
StackMap stack:
iload 3
iload 2
if_icmpge 70
67: new javax.activation.MimeTypeParseException
dup
68: ldc "More characters encountered in input than expected."
69: invokespecial javax.activation.MimeTypeParseException.<init>:(Ljava/lang/String;)V
athrow
70: StackMap locals:
StackMap stack:
return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 71 0 this Ljavax/activation/MimeTypeParameterList;
0 71 1 parameterList Ljava/lang/String;
3 71 2 length I
6 71 3 i I
7 64 4 c C
65 66 4 c C
12 63 5 lastIndex I
18 63 6 name Ljava/lang/String;
50 52 7 value Ljava/lang/String;
58 59 7 value Ljava/lang/String;
62 63 7 value Ljava/lang/String;
Exceptions:
throws javax.activation.MimeTypeParseException
MethodParameters:
Name Flags
parameterList
public int size();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield javax.activation.MimeTypeParameterList.parameters:Ljava/util/Hashtable;
invokevirtual java.util.Hashtable.size:()I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/activation/MimeTypeParameterList;
public boolean isEmpty();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield javax.activation.MimeTypeParameterList.parameters:Ljava/util/Hashtable;
invokevirtual java.util.Hashtable.isEmpty:()Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/activation/MimeTypeParameterList;
public java.lang.String get(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield javax.activation.MimeTypeParameterList.parameters:Ljava/util/Hashtable;
aload 1
invokevirtual java.lang.String.trim:()Ljava/lang/String;
getstatic java.util.Locale.ENGLISH:Ljava/util/Locale;
invokevirtual java.lang.String.toLowerCase:(Ljava/util/Locale;)Ljava/lang/String;
invokevirtual java.util.Hashtable.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.lang.String
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/activation/MimeTypeParameterList;
0 1 1 name Ljava/lang/String;
MethodParameters:
Name Flags
name
public void set(java.lang.String, java.lang.String);
descriptor: (Ljava/lang/String;Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield javax.activation.MimeTypeParameterList.parameters:Ljava/util/Hashtable;
aload 1
invokevirtual java.lang.String.trim:()Ljava/lang/String;
getstatic java.util.Locale.ENGLISH:Ljava/util/Locale;
invokevirtual java.lang.String.toLowerCase:(Ljava/util/Locale;)Ljava/lang/String;
aload 2
invokevirtual java.util.Hashtable.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
1: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljavax/activation/MimeTypeParameterList;
0 2 1 name Ljava/lang/String;
0 2 2 value Ljava/lang/String;
MethodParameters:
Name Flags
name
value
public void remove(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield javax.activation.MimeTypeParameterList.parameters:Ljava/util/Hashtable;
aload 1
invokevirtual java.lang.String.trim:()Ljava/lang/String;
getstatic java.util.Locale.ENGLISH:Ljava/util/Locale;
invokevirtual java.lang.String.toLowerCase:(Ljava/util/Locale;)Ljava/lang/String;
invokevirtual java.util.Hashtable.remove:(Ljava/lang/Object;)Ljava/lang/Object;
pop
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljavax/activation/MimeTypeParameterList;
0 2 1 name Ljava/lang/String;
MethodParameters:
Name Flags
name
public java.util.Enumeration getNames();
descriptor: ()Ljava/util/Enumeration;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield javax.activation.MimeTypeParameterList.parameters:Ljava/util/Hashtable;
invokevirtual java.util.Hashtable.keys:()Ljava/util/Enumeration;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/activation/MimeTypeParameterList;
public java.lang.String toString();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=4, args_size=1
start local 0 0: new java.lang.StringBuffer
dup
invokespecial java.lang.StringBuffer.<init>:()V
astore 1
start local 1 1: aload 1
aload 0
getfield javax.activation.MimeTypeParameterList.parameters:Ljava/util/Hashtable;
invokevirtual java.util.Hashtable.size:()I
bipush 16
imul
invokevirtual java.lang.StringBuffer.ensureCapacity:(I)V
2: aload 0
getfield javax.activation.MimeTypeParameterList.parameters:Ljava/util/Hashtable;
invokevirtual java.util.Hashtable.keys:()Ljava/util/Enumeration;
astore 2
start local 2 3: goto 9
4: StackMap locals: java.lang.StringBuffer java.util.Enumeration
StackMap stack:
aload 2
invokeinterface java.util.Enumeration.nextElement:()Ljava/lang/Object;
checkcast java.lang.String
astore 3
start local 3 5: aload 1
ldc "; "
invokevirtual java.lang.StringBuffer.append:(Ljava/lang/String;)Ljava/lang/StringBuffer;
pop
6: aload 1
aload 3
invokevirtual java.lang.StringBuffer.append:(Ljava/lang/String;)Ljava/lang/StringBuffer;
pop
7: aload 1
bipush 61
invokevirtual java.lang.StringBuffer.append:(C)Ljava/lang/StringBuffer;
pop
8: aload 1
aload 0
getfield javax.activation.MimeTypeParameterList.parameters:Ljava/util/Hashtable;
aload 3
invokevirtual java.util.Hashtable.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.lang.String
invokestatic javax.activation.MimeTypeParameterList.quote:(Ljava/lang/String;)Ljava/lang/String;
invokevirtual java.lang.StringBuffer.append:(Ljava/lang/String;)Ljava/lang/StringBuffer;
pop
end local 3 9: StackMap locals:
StackMap stack:
aload 2
invokeinterface java.util.Enumeration.hasMoreElements:()Z
ifne 4
10: aload 1
invokevirtual java.lang.StringBuffer.toString:()Ljava/lang/String;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Ljavax/activation/MimeTypeParameterList;
1 11 1 buffer Ljava/lang/StringBuffer;
3 11 2 keys Ljava/util/Enumeration;
5 9 3 key Ljava/lang/String;
private static boolean isTokenChar(char);
descriptor: (C)Z
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: iload 0
bipush 32
if_icmple 1
iload 0
bipush 127
if_icmpge 1
ldc "()<>@,;:/[]?=\\\""
iload 0
invokevirtual java.lang.String.indexOf:(I)I
ifge 1
iconst_1
ireturn
StackMap locals:
StackMap stack:
1: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 c C
MethodParameters:
Name Flags
c
private static int skipWhiteSpace(java.lang.String, int);
descriptor: (Ljava/lang/String;I)I
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual java.lang.String.length:()I
istore 2
start local 2 1: goto 3
2: StackMap locals: int
StackMap stack:
iinc 1 1
3: StackMap locals:
StackMap stack:
iload 1
iload 2
if_icmpge 4
aload 0
iload 1
invokevirtual java.lang.String.charAt:(I)C
invokestatic java.lang.Character.isWhitespace:(C)Z
ifne 2
4: StackMap locals:
StackMap stack:
iload 1
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 rawdata Ljava/lang/String;
0 5 1 i I
1 5 2 length I
MethodParameters:
Name Flags
rawdata
i
private static java.lang.String quote(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/String;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=5, locals=6, args_size=1
start local 0 0: iconst_0
istore 1
start local 1 1: aload 0
invokevirtual java.lang.String.length:()I
istore 2
start local 2 2: iconst_0
istore 3
start local 3 3: goto 8
4: StackMap locals: int int int
StackMap stack:
aload 0
iload 3
invokevirtual java.lang.String.charAt:(I)C
invokestatic javax.activation.MimeTypeParameterList.isTokenChar:(C)Z
ifeq 5
iconst_0
goto 6
StackMap locals:
StackMap stack:
5: iconst_1
StackMap locals:
StackMap stack: int
6: istore 1
7: iinc 3 1
StackMap locals:
StackMap stack:
8: iload 3
iload 2
if_icmpge 9
iload 1
ifeq 4
end local 3 9: StackMap locals:
StackMap stack:
iload 1
ifeq 23
10: new java.lang.StringBuffer
dup
invokespecial java.lang.StringBuffer.<init>:()V
astore 3
start local 3 11: aload 3
iload 2
i2d
ldc 1.5
dmul
d2i
invokevirtual java.lang.StringBuffer.ensureCapacity:(I)V
12: aload 3
bipush 34
invokevirtual java.lang.StringBuffer.append:(C)Ljava/lang/StringBuffer;
pop
13: iconst_0
istore 4
start local 4 14: goto 20
15: StackMap locals: java.lang.StringBuffer int
StackMap stack:
aload 0
iload 4
invokevirtual java.lang.String.charAt:(I)C
istore 5
start local 5 16: iload 5
bipush 92
if_icmpeq 17
iload 5
bipush 34
if_icmpne 18
17: StackMap locals: int
StackMap stack:
aload 3
bipush 92
invokevirtual java.lang.StringBuffer.append:(C)Ljava/lang/StringBuffer;
pop
18: StackMap locals:
StackMap stack:
aload 3
iload 5
invokevirtual java.lang.StringBuffer.append:(C)Ljava/lang/StringBuffer;
pop
end local 5 19: iinc 4 1
StackMap locals:
StackMap stack:
20: iload 4
iload 2
if_icmplt 15
end local 4 21: aload 3
bipush 34
invokevirtual java.lang.StringBuffer.append:(C)Ljava/lang/StringBuffer;
pop
22: aload 3
invokevirtual java.lang.StringBuffer.toString:()Ljava/lang/String;
areturn
end local 3 23: StackMap locals:
StackMap stack:
aload 0
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 24 0 value Ljava/lang/String;
1 24 1 needsQuotes Z
2 24 2 length I
3 9 3 i I
11 23 3 buffer Ljava/lang/StringBuffer;
14 21 4 i I
16 19 5 c C
MethodParameters:
Name Flags
value
private static java.lang.String unquote(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/String;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=2, locals=6, args_size=1
start local 0 0: aload 0
invokevirtual java.lang.String.length:()I
istore 1
start local 1 1: new java.lang.StringBuffer
dup
invokespecial java.lang.StringBuffer.<init>:()V
astore 2
start local 2 2: aload 2
iload 1
invokevirtual java.lang.StringBuffer.ensureCapacity:(I)V
3: iconst_0
istore 3
start local 3 4: iconst_0
istore 4
start local 4 5: goto 16
6: StackMap locals: java.lang.String int java.lang.StringBuffer int int
StackMap stack:
aload 0
iload 4
invokevirtual java.lang.String.charAt:(I)C
istore 5
start local 5 7: iload 3
ifne 10
iload 5
bipush 92
if_icmpeq 10
8: aload 2
iload 5
invokevirtual java.lang.StringBuffer.append:(C)Ljava/lang/StringBuffer;
pop
9: goto 15
StackMap locals: int
StackMap stack:
10: iload 3
ifeq 14
11: aload 2
iload 5
invokevirtual java.lang.StringBuffer.append:(C)Ljava/lang/StringBuffer;
pop
12: iconst_0
istore 3
13: goto 15
14: StackMap locals:
StackMap stack:
iconst_1
istore 3
end local 5 15: StackMap locals:
StackMap stack:
iinc 4 1
StackMap locals:
StackMap stack:
16: iload 4
iload 1
if_icmplt 6
end local 4 17: aload 2
invokevirtual java.lang.StringBuffer.toString:()Ljava/lang/String;
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 18 0 value Ljava/lang/String;
1 18 1 valueLength I
2 18 2 buffer Ljava/lang/StringBuffer;
4 18 3 escaped Z
5 17 4 i I
7 15 5 currentChar C
MethodParameters:
Name Flags
value
}
SourceFile: "MimeTypeParameterList.java"