public class com.sun.xml.internal.messaging.saaj.packaging.mime.util.ASCIIUtility
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: com.sun.xml.internal.messaging.saaj.packaging.mime.util.ASCIIUtility
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/xml/internal/messaging/saaj/packaging/mime/util/ASCIIUtility;
public static int parseInt(byte[], int, int, int);
descriptor: ([BIII)I
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=6, locals=10, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
ifnonnull 2
1: new java.lang.NumberFormatException
dup
ldc "null"
invokespecial java.lang.NumberFormatException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
iconst_0
istore 4
start local 4 3: iconst_0
istore 5
start local 5 4: iload 1
istore 6
start local 6 5: iload 2
iload 1
if_icmple 32
6: aload 0
iload 6
baload
bipush 45
if_icmpne 11
7: iconst_1
istore 5
8: ldc -2147483648
istore 7
start local 7 9: iinc 6 1
10: goto 12
end local 7 11: StackMap locals: int int int
StackMap stack:
ldc -2147483647
istore 7
start local 7 12: StackMap locals: int
StackMap stack:
iload 7
iload 3
idiv
istore 8
start local 8 13: iload 6
iload 2
if_icmpge 30
14: aload 0
iload 6
iinc 6 1
baload
i2c
iload 3
invokestatic java.lang.Character.digit:(CI)I
istore 9
start local 9 15: iload 9
ifge 19
16: new java.lang.NumberFormatException
dup
17: new java.lang.StringBuilder
dup
ldc "illegal number: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
iload 1
iload 2
invokestatic com.sun.xml.internal.messaging.saaj.packaging.mime.util.ASCIIUtility.toString:([BII)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
18: invokespecial java.lang.NumberFormatException.<init>:(Ljava/lang/String;)V
athrow
19: StackMap locals: int int
StackMap stack:
iload 9
ineg
istore 4
end local 9 20: goto 30
21: StackMap locals:
StackMap stack:
aload 0
iload 6
iinc 6 1
baload
i2c
iload 3
invokestatic java.lang.Character.digit:(CI)I
istore 9
start local 9 22: iload 9
ifge 24
23: new java.lang.NumberFormatException
dup
ldc "illegal number"
invokespecial java.lang.NumberFormatException.<init>:(Ljava/lang/String;)V
athrow
24: StackMap locals: int
StackMap stack:
iload 4
iload 8
if_icmpge 26
25: new java.lang.NumberFormatException
dup
ldc "illegal number"
invokespecial java.lang.NumberFormatException.<init>:(Ljava/lang/String;)V
athrow
26: StackMap locals:
StackMap stack:
iload 4
iload 3
imul
istore 4
27: iload 4
iload 7
iload 9
iadd
if_icmpge 29
28: new java.lang.NumberFormatException
dup
ldc "illegal number"
invokespecial java.lang.NumberFormatException.<init>:(Ljava/lang/String;)V
athrow
29: StackMap locals:
StackMap stack:
iload 4
iload 9
isub
istore 4
end local 9 30: StackMap locals:
StackMap stack:
iload 6
iload 2
if_icmplt 21
31: goto 33
end local 8 end local 7 32: StackMap locals:
StackMap stack:
new java.lang.NumberFormatException
dup
ldc "illegal number"
invokespecial java.lang.NumberFormatException.<init>:(Ljava/lang/String;)V
athrow
start local 7 start local 8 33: StackMap locals: int int
StackMap stack:
iload 5
ifeq 37
34: iload 6
iload 1
iconst_1
iadd
if_icmple 36
35: iload 4
ireturn
36: StackMap locals:
StackMap stack:
new java.lang.NumberFormatException
dup
ldc "illegal number"
invokespecial java.lang.NumberFormatException.<init>:(Ljava/lang/String;)V
athrow
37: StackMap locals:
StackMap stack:
iload 4
ineg
ireturn
end local 8 end local 7 end local 6 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 38 0 b [B
0 38 1 start I
0 38 2 end I
0 38 3 radix I
3 38 4 result I
4 38 5 negative Z
5 38 6 i I
9 11 7 limit I
12 32 7 limit I
33 38 7 limit I
13 32 8 multmin I
33 38 8 multmin I
15 20 9 digit I
22 30 9 digit I
Exceptions:
throws java.lang.NumberFormatException
MethodParameters:
Name Flags
b
start
end
radix
public static java.lang.String toString(byte[], int, int);
descriptor: ([BII)Ljava/lang/String;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=7, args_size=3
start local 0 start local 1 start local 2 0: iload 2
iload 1
isub
istore 3
start local 3 1: iload 3
newarray 5
astore 4
start local 4 2: iconst_0
istore 5
start local 5 3: iload 1
istore 6
start local 6 4: goto 6
5: StackMap locals: byte[] int int int char[] int int
StackMap stack:
aload 4
iload 5
iinc 5 1
aload 0
iload 6
iinc 6 1
baload
sipush 255
iand
i2c
castore
6: StackMap locals:
StackMap stack:
iload 5
iload 3
if_icmplt 5
end local 6 end local 5 7: new java.lang.String
dup
aload 4
invokespecial java.lang.String.<init>:([C)V
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 b [B
0 8 1 start I
0 8 2 end I
1 8 3 size I
2 8 4 theChars [C
3 7 5 i I
4 7 6 j I
MethodParameters:
Name Flags
b
start
end
public static byte[] getBytes(java.lang.String);
descriptor: (Ljava/lang/String;)[B
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=5, args_size=1
start local 0 0: aload 0
invokevirtual java.lang.String.toCharArray:()[C
astore 1
start local 1 1: aload 1
arraylength
istore 2
start local 2 2: iload 2
newarray 8
astore 3
start local 3 3: iconst_0
istore 4
start local 4 4: goto 6
5: StackMap locals: java.lang.String char[] int byte[] int
StackMap stack:
aload 3
iload 4
aload 1
iload 4
iinc 4 1
caload
i2b
bastore
6: StackMap locals:
StackMap stack:
iload 4
iload 2
if_icmplt 5
end local 4 7: aload 3
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 s Ljava/lang/String;
1 8 1 chars [C
2 8 2 size I
3 8 3 bytes [B
4 7 4 i I
MethodParameters:
Name Flags
s
public static byte[] getBytes(java.io.InputStream);
descriptor: (Ljava/io/InputStream;)[B
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=3, args_size=1
start local 0 0: aconst_null
astore 1
start local 1 1: new com.sun.xml.internal.messaging.saaj.util.ByteOutputStream
dup
invokespecial com.sun.xml.internal.messaging.saaj.util.ByteOutputStream.<init>:()V
astore 1
2: aload 1
aload 0
invokevirtual com.sun.xml.internal.messaging.saaj.util.ByteOutputStream.write:(Ljava/io/InputStream;)V
3: goto 9
StackMap locals: java.io.InputStream com.sun.xml.internal.messaging.saaj.util.ByteOutputStream
StackMap stack: java.lang.Throwable
4: astore 2
5: aload 1
ifnull 7
6: aload 1
invokevirtual com.sun.xml.internal.messaging.saaj.util.ByteOutputStream.close:()V
7: StackMap locals: java.lang.Throwable
StackMap stack:
aload 0
invokevirtual java.io.InputStream.close:()V
8: aload 2
athrow
9: StackMap locals:
StackMap stack:
aload 1
ifnull 11
10: aload 1
invokevirtual com.sun.xml.internal.messaging.saaj.util.ByteOutputStream.close:()V
11: StackMap locals:
StackMap stack:
aload 0
invokevirtual java.io.InputStream.close:()V
12: aload 1
invokevirtual com.sun.xml.internal.messaging.saaj.util.ByteOutputStream.toByteArray:()[B
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 is Ljava/io/InputStream;
1 13 1 bos Lcom/sun/xml/internal/messaging/saaj/util/ByteOutputStream;
Exception table:
from to target type
1 4 4 any
Exceptions:
throws java.io.IOException
RuntimeVisibleAnnotations:
java.lang.Deprecated()
MethodParameters:
Name Flags
is
}
SourceFile: "ASCIIUtility.java"