public class com.sun.activation.registries.MailcapTokenizer
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: com.sun.activation.registries.MailcapTokenizer
super_class: java.lang.Object
{
public static final int UNKNOWN_TOKEN;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 0
public static final int START_TOKEN;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 1
public static final int STRING_TOKEN;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 2
public static final int EOI_TOKEN;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 5
public static final int SLASH_TOKEN;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 47
public static final int SEMICOLON_TOKEN;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 59
public static final int EQUALS_TOKEN;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 61
private java.lang.String data;
descriptor: Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
private int dataIndex;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private int dataLength;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private int currentToken;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private java.lang.String currentTokenValue;
descriptor: Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
private boolean isAutoquoting;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private char autoquoteChar;
descriptor: C
flags: (0x0002) ACC_PRIVATE
public void <init>(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aload 1
putfield com.sun.activation.registries.MailcapTokenizer.data:Ljava/lang/String;
2: aload 0
iconst_0
putfield com.sun.activation.registries.MailcapTokenizer.dataIndex:I
3: aload 0
aload 1
invokevirtual java.lang.String.length:()I
putfield com.sun.activation.registries.MailcapTokenizer.dataLength:I
4: aload 0
iconst_1
putfield com.sun.activation.registries.MailcapTokenizer.currentToken:I
5: aload 0
ldc ""
putfield com.sun.activation.registries.MailcapTokenizer.currentTokenValue:Ljava/lang/String;
6: aload 0
iconst_0
putfield com.sun.activation.registries.MailcapTokenizer.isAutoquoting:Z
7: aload 0
bipush 59
putfield com.sun.activation.registries.MailcapTokenizer.autoquoteChar:C
8: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lcom/sun/activation/registries/MailcapTokenizer;
0 9 1 inputString Ljava/lang/String;
MethodParameters:
Name Flags
inputString
public void setIsAutoquoting(boolean);
descriptor: (Z)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
iload 1
putfield com.sun.activation.registries.MailcapTokenizer.isAutoquoting:Z
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/sun/activation/registries/MailcapTokenizer;
0 2 1 value Z
MethodParameters:
Name Flags
value
public int getCurrentToken();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.activation.registries.MailcapTokenizer.currentToken:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/activation/registries/MailcapTokenizer;
public static java.lang.String nameForToken(int);
descriptor: (I)Ljava/lang/String;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=2, args_size=1
start local 0 0: ldc "really unknown"
astore 1
start local 1 1: iload 0
lookupswitch { // 7
0: 2
1: 4
2: 6
5: 8
47: 10
59: 12
61: 14
default: 15
}
2: StackMap locals: java.lang.String
StackMap stack:
ldc "unknown"
astore 1
3: goto 15
4: StackMap locals:
StackMap stack:
ldc "start"
astore 1
5: goto 15
6: StackMap locals:
StackMap stack:
ldc "string"
astore 1
7: goto 15
8: StackMap locals:
StackMap stack:
ldc "EOI"
astore 1
9: goto 15
10: StackMap locals:
StackMap stack:
ldc "'/'"
astore 1
11: goto 15
12: StackMap locals:
StackMap stack:
ldc "';'"
astore 1
13: goto 15
14: StackMap locals:
StackMap stack:
ldc "'='"
astore 1
15: StackMap locals:
StackMap stack:
aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 16 0 token I
1 16 1 name Ljava/lang/String;
MethodParameters:
Name Flags
token
public java.lang.String getCurrentTokenValue();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.activation.registries.MailcapTokenizer.currentTokenValue:Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/activation/registries/MailcapTokenizer;
public int nextToken();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=1
start local 0 0: aload 0
getfield com.sun.activation.registries.MailcapTokenizer.dataIndex:I
aload 0
getfield com.sun.activation.registries.MailcapTokenizer.dataLength:I
if_icmpge 30
1: goto 3
2: StackMap locals:
StackMap stack:
aload 0
dup
getfield com.sun.activation.registries.MailcapTokenizer.dataIndex:I
iconst_1
iadd
putfield com.sun.activation.registries.MailcapTokenizer.dataIndex:I
3: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.activation.registries.MailcapTokenizer.dataIndex:I
aload 0
getfield com.sun.activation.registries.MailcapTokenizer.dataLength:I
if_icmpge 5
4: aload 0
getfield com.sun.activation.registries.MailcapTokenizer.data:Ljava/lang/String;
aload 0
getfield com.sun.activation.registries.MailcapTokenizer.dataIndex:I
invokevirtual java.lang.String.charAt:(I)C
invokestatic com.sun.activation.registries.MailcapTokenizer.isWhiteSpaceChar:(C)Z
ifne 2
5: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.activation.registries.MailcapTokenizer.dataIndex:I
aload 0
getfield com.sun.activation.registries.MailcapTokenizer.dataLength:I
if_icmpge 27
6: aload 0
getfield com.sun.activation.registries.MailcapTokenizer.data:Ljava/lang/String;
aload 0
getfield com.sun.activation.registries.MailcapTokenizer.dataIndex:I
invokevirtual java.lang.String.charAt:(I)C
istore 1
start local 1 7: aload 0
getfield com.sun.activation.registries.MailcapTokenizer.isAutoquoting:Z
ifeq 15
8: iload 1
bipush 59
if_icmpeq 9
iload 1
bipush 61
if_icmpne 13
9: StackMap locals: int
StackMap stack:
aload 0
iload 1
putfield com.sun.activation.registries.MailcapTokenizer.currentToken:I
10: aload 0
new java.lang.Character
dup
iload 1
invokespecial java.lang.Character.<init>:(C)V
invokevirtual java.lang.Character.toString:()Ljava/lang/String;
putfield com.sun.activation.registries.MailcapTokenizer.currentTokenValue:Ljava/lang/String;
11: aload 0
dup
getfield com.sun.activation.registries.MailcapTokenizer.dataIndex:I
iconst_1
iadd
putfield com.sun.activation.registries.MailcapTokenizer.dataIndex:I
12: goto 32
13: StackMap locals:
StackMap stack:
aload 0
invokevirtual com.sun.activation.registries.MailcapTokenizer.processAutoquoteToken:()V
14: goto 32
15: StackMap locals:
StackMap stack:
iload 1
invokestatic com.sun.activation.registries.MailcapTokenizer.isStringTokenChar:(C)Z
ifeq 18
16: aload 0
invokevirtual com.sun.activation.registries.MailcapTokenizer.processStringToken:()V
17: goto 32
StackMap locals:
StackMap stack:
18: iload 1
bipush 47
if_icmpeq 19
iload 1
bipush 59
if_icmpeq 19
iload 1
bipush 61
if_icmpne 23
19: StackMap locals:
StackMap stack:
aload 0
iload 1
putfield com.sun.activation.registries.MailcapTokenizer.currentToken:I
20: aload 0
new java.lang.Character
dup
iload 1
invokespecial java.lang.Character.<init>:(C)V
invokevirtual java.lang.Character.toString:()Ljava/lang/String;
putfield com.sun.activation.registries.MailcapTokenizer.currentTokenValue:Ljava/lang/String;
21: aload 0
dup
getfield com.sun.activation.registries.MailcapTokenizer.dataIndex:I
iconst_1
iadd
putfield com.sun.activation.registries.MailcapTokenizer.dataIndex:I
22: goto 32
23: StackMap locals:
StackMap stack:
aload 0
iconst_0
putfield com.sun.activation.registries.MailcapTokenizer.currentToken:I
24: aload 0
new java.lang.Character
dup
iload 1
invokespecial java.lang.Character.<init>:(C)V
invokevirtual java.lang.Character.toString:()Ljava/lang/String;
putfield com.sun.activation.registries.MailcapTokenizer.currentTokenValue:Ljava/lang/String;
25: aload 0
dup
getfield com.sun.activation.registries.MailcapTokenizer.dataIndex:I
iconst_1
iadd
putfield com.sun.activation.registries.MailcapTokenizer.dataIndex:I
end local 1 26: goto 32
27: StackMap locals:
StackMap stack:
aload 0
iconst_5
putfield com.sun.activation.registries.MailcapTokenizer.currentToken:I
28: aload 0
aconst_null
putfield com.sun.activation.registries.MailcapTokenizer.currentTokenValue:Ljava/lang/String;
29: goto 32
30: StackMap locals:
StackMap stack:
aload 0
iconst_5
putfield com.sun.activation.registries.MailcapTokenizer.currentToken:I
31: aload 0
aconst_null
putfield com.sun.activation.registries.MailcapTokenizer.currentTokenValue:Ljava/lang/String;
32: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.activation.registries.MailcapTokenizer.currentToken:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 33 0 this Lcom/sun/activation/registries/MailcapTokenizer;
7 26 1 c C
private void processStringToken();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=2, args_size=1
start local 0 0: aload 0
getfield com.sun.activation.registries.MailcapTokenizer.dataIndex:I
istore 1
start local 1 1: goto 3
2: StackMap locals: int
StackMap stack:
aload 0
dup
getfield com.sun.activation.registries.MailcapTokenizer.dataIndex:I
iconst_1
iadd
putfield com.sun.activation.registries.MailcapTokenizer.dataIndex:I
3: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.activation.registries.MailcapTokenizer.dataIndex:I
aload 0
getfield com.sun.activation.registries.MailcapTokenizer.dataLength:I
if_icmpge 5
4: aload 0
getfield com.sun.activation.registries.MailcapTokenizer.data:Ljava/lang/String;
aload 0
getfield com.sun.activation.registries.MailcapTokenizer.dataIndex:I
invokevirtual java.lang.String.charAt:(I)C
invokestatic com.sun.activation.registries.MailcapTokenizer.isStringTokenChar:(C)Z
ifne 2
5: StackMap locals:
StackMap stack:
aload 0
iconst_2
putfield com.sun.activation.registries.MailcapTokenizer.currentToken:I
6: aload 0
aload 0
getfield com.sun.activation.registries.MailcapTokenizer.data:Ljava/lang/String;
iload 1
aload 0
getfield com.sun.activation.registries.MailcapTokenizer.dataIndex:I
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
putfield com.sun.activation.registries.MailcapTokenizer.currentTokenValue:Ljava/lang/String;
7: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lcom/sun/activation/registries/MailcapTokenizer;
1 8 1 initialIndex I
private void processAutoquoteToken();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=4, args_size=1
start local 0 0: aload 0
getfield com.sun.activation.registries.MailcapTokenizer.dataIndex:I
istore 1
start local 1 1: iconst_0
istore 2
start local 2 2: goto 8
3: StackMap locals: int int
StackMap stack:
aload 0
getfield com.sun.activation.registries.MailcapTokenizer.data:Ljava/lang/String;
aload 0
getfield com.sun.activation.registries.MailcapTokenizer.dataIndex:I
invokevirtual java.lang.String.charAt:(I)C
istore 3
start local 3 4: iload 3
aload 0
getfield com.sun.activation.registries.MailcapTokenizer.autoquoteChar:C
if_icmpeq 7
5: aload 0
dup
getfield com.sun.activation.registries.MailcapTokenizer.dataIndex:I
iconst_1
iadd
putfield com.sun.activation.registries.MailcapTokenizer.dataIndex:I
6: goto 8
7: StackMap locals: int
StackMap stack:
iconst_1
istore 2
end local 3 8: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.activation.registries.MailcapTokenizer.dataIndex:I
aload 0
getfield com.sun.activation.registries.MailcapTokenizer.dataLength:I
if_icmpge 9
iload 2
ifeq 3
9: StackMap locals:
StackMap stack:
aload 0
iconst_2
putfield com.sun.activation.registries.MailcapTokenizer.currentToken:I
10: aload 0
11: aload 0
getfield com.sun.activation.registries.MailcapTokenizer.data:Ljava/lang/String;
iload 1
aload 0
getfield com.sun.activation.registries.MailcapTokenizer.dataIndex:I
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
invokestatic com.sun.activation.registries.MailcapTokenizer.fixEscapeSequences:(Ljava/lang/String;)Ljava/lang/String;
12: putfield com.sun.activation.registries.MailcapTokenizer.currentTokenValue:Ljava/lang/String;
13: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 this Lcom/sun/activation/registries/MailcapTokenizer;
1 14 1 initialIndex I
2 14 2 foundTerminator Z
4 8 3 c C
private static boolean isSpecialChar(char);
descriptor: (C)Z
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=1, locals=2, args_size=1
start local 0 0: iconst_0
istore 1
start local 1 1: iload 0
lookupswitch { // 15
34: 2
40: 2
41: 2
44: 2
47: 2
58: 2
59: 2
60: 2
61: 2
62: 2
63: 2
64: 2
91: 2
92: 2
93: 2
default: 3
}
2: StackMap locals: int
StackMap stack:
iconst_1
istore 1
3: StackMap locals:
StackMap stack:
iload 1
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 c C
1 4 1 lAnswer Z
MethodParameters:
Name Flags
c
private static boolean isControlChar(char);
descriptor: (C)Z
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: iload 0
invokestatic java.lang.Character.isISOControl:(C)Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 c C
MethodParameters:
Name Flags
c
private static boolean isWhiteSpaceChar(char);
descriptor: (C)Z
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: iload 0
invokestatic java.lang.Character.isWhitespace:(C)Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 c C
MethodParameters:
Name Flags
c
private static boolean isStringTokenChar(char);
descriptor: (C)Z
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: iload 0
invokestatic com.sun.activation.registries.MailcapTokenizer.isSpecialChar:(C)Z
ifne 1
iload 0
invokestatic com.sun.activation.registries.MailcapTokenizer.isControlChar:(C)Z
ifne 1
iload 0
invokestatic com.sun.activation.registries.MailcapTokenizer.isWhiteSpaceChar:(C)Z
ifne 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 java.lang.String fixEscapeSequences(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/String;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=3, 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: goto 16
5: StackMap locals: int java.lang.StringBuffer int
StackMap stack:
aload 0
iload 3
invokevirtual java.lang.String.charAt:(I)C
istore 4
start local 4 6: iload 4
bipush 92
if_icmpeq 9
7: aload 2
iload 4
invokevirtual java.lang.StringBuffer.append:(C)Ljava/lang/StringBuffer;
pop
8: goto 15
9: StackMap locals: int
StackMap stack:
iload 3
iload 1
iconst_1
isub
if_icmpge 14
10: aload 0
iload 3
iconst_1
iadd
invokevirtual java.lang.String.charAt:(I)C
istore 5
start local 5 11: aload 2
iload 5
invokevirtual java.lang.StringBuffer.append:(C)Ljava/lang/StringBuffer;
pop
12: iinc 3 1
end local 5 13: goto 15
14: StackMap locals:
StackMap stack:
aload 2
iload 4
invokevirtual java.lang.StringBuffer.append:(C)Ljava/lang/StringBuffer;
pop
end local 4 15: StackMap locals:
StackMap stack:
iinc 3 1
StackMap locals:
StackMap stack:
16: iload 3
iload 1
if_icmplt 5
end local 3 17: aload 2
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 18 0 inputString Ljava/lang/String;
1 18 1 inputLength I
2 18 2 buffer Ljava/lang/StringBuffer;
4 17 3 i I
6 15 4 currentChar C
11 13 5 nextChar C
MethodParameters:
Name Flags
inputString
}
SourceFile: "MailcapTokenizer.java"