final class com.sun.xml.internal.org.jvnet.mimepull.ChunkInputStream extends java.io.InputStream
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: com.sun.xml.internal.org.jvnet.mimepull.ChunkInputStream
super_class: java.io.InputStream
{
com.sun.xml.internal.org.jvnet.mimepull.Chunk current;
descriptor: Lcom/sun/xml/internal/org/jvnet/mimepull/Chunk;
flags: (0x0000)
int offset;
descriptor: I
flags: (0x0000)
int len;
descriptor: I
flags: (0x0000)
final com.sun.xml.internal.org.jvnet.mimepull.MIMEMessage msg;
descriptor: Lcom/sun/xml/internal/org/jvnet/mimepull/MIMEMessage;
flags: (0x0010) ACC_FINAL
final com.sun.xml.internal.org.jvnet.mimepull.MIMEPart part;
descriptor: Lcom/sun/xml/internal/org/jvnet/mimepull/MIMEPart;
flags: (0x0010) ACC_FINAL
byte[] buf;
descriptor: [B
flags: (0x0000)
public void <init>(com.sun.xml.internal.org.jvnet.mimepull.MIMEMessage, com.sun.xml.internal.org.jvnet.mimepull.MIMEPart, com.sun.xml.internal.org.jvnet.mimepull.Chunk);
descriptor: (Lcom/sun/xml/internal/org/jvnet/mimepull/MIMEMessage;Lcom/sun/xml/internal/org/jvnet/mimepull/MIMEPart;Lcom/sun/xml/internal/org/jvnet/mimepull/Chunk;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
invokespecial java.io.InputStream.<init>:()V
1: aload 0
aload 3
putfield com.sun.xml.internal.org.jvnet.mimepull.ChunkInputStream.current:Lcom/sun/xml/internal/org/jvnet/mimepull/Chunk;
2: aload 0
aload 0
getfield com.sun.xml.internal.org.jvnet.mimepull.ChunkInputStream.current:Lcom/sun/xml/internal/org/jvnet/mimepull/Chunk;
getfield com.sun.xml.internal.org.jvnet.mimepull.Chunk.data:Lcom/sun/xml/internal/org/jvnet/mimepull/Data;
invokeinterface com.sun.xml.internal.org.jvnet.mimepull.Data.size:()I
putfield com.sun.xml.internal.org.jvnet.mimepull.ChunkInputStream.len:I
3: aload 0
aload 0
getfield com.sun.xml.internal.org.jvnet.mimepull.ChunkInputStream.current:Lcom/sun/xml/internal/org/jvnet/mimepull/Chunk;
getfield com.sun.xml.internal.org.jvnet.mimepull.Chunk.data:Lcom/sun/xml/internal/org/jvnet/mimepull/Data;
invokeinterface com.sun.xml.internal.org.jvnet.mimepull.Data.read:()[B
putfield com.sun.xml.internal.org.jvnet.mimepull.ChunkInputStream.buf:[B
4: aload 0
aload 1
putfield com.sun.xml.internal.org.jvnet.mimepull.ChunkInputStream.msg:Lcom/sun/xml/internal/org/jvnet/mimepull/MIMEMessage;
5: aload 0
aload 2
putfield com.sun.xml.internal.org.jvnet.mimepull.ChunkInputStream.part:Lcom/sun/xml/internal/org/jvnet/mimepull/MIMEPart;
6: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lcom/sun/xml/internal/org/jvnet/mimepull/ChunkInputStream;
0 7 1 msg Lcom/sun/xml/internal/org/jvnet/mimepull/MIMEMessage;
0 7 2 part Lcom/sun/xml/internal/org/jvnet/mimepull/MIMEPart;
0 7 3 startPos Lcom/sun/xml/internal/org/jvnet/mimepull/Chunk;
MethodParameters:
Name Flags
msg
part
startPos
public int read(byte[], int, int);
descriptor: ([BII)I
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
invokevirtual com.sun.xml.internal.org.jvnet.mimepull.ChunkInputStream.fetch:()Z
ifne 2
1: iconst_m1
ireturn
2: StackMap locals:
StackMap stack:
iload 3
aload 0
getfield com.sun.xml.internal.org.jvnet.mimepull.ChunkInputStream.len:I
aload 0
getfield com.sun.xml.internal.org.jvnet.mimepull.ChunkInputStream.offset:I
isub
invokestatic java.lang.Math.min:(II)I
istore 3
3: aload 0
getfield com.sun.xml.internal.org.jvnet.mimepull.ChunkInputStream.buf:[B
aload 0
getfield com.sun.xml.internal.org.jvnet.mimepull.ChunkInputStream.offset:I
aload 1
iload 2
iload 3
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
4: iload 3
ireturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lcom/sun/xml/internal/org/jvnet/mimepull/ChunkInputStream;
0 5 1 b [B
0 5 2 off I
0 5 3 sz I
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
b
off
sz
public int read();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual com.sun.xml.internal.org.jvnet.mimepull.ChunkInputStream.fetch:()Z
ifne 2
1: iconst_m1
ireturn
2: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.xml.internal.org.jvnet.mimepull.ChunkInputStream.buf:[B
aload 0
dup
getfield com.sun.xml.internal.org.jvnet.mimepull.ChunkInputStream.offset:I
dup_x1
iconst_1
iadd
putfield com.sun.xml.internal.org.jvnet.mimepull.ChunkInputStream.offset:I
baload
sipush 255
iand
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/sun/xml/internal/org/jvnet/mimepull/ChunkInputStream;
Exceptions:
throws java.io.IOException
private boolean fetch();
descriptor: ()Z
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.xml.internal.org.jvnet.mimepull.ChunkInputStream.current:Lcom/sun/xml/internal/org/jvnet/mimepull/Chunk;
ifnonnull 10
1: new java.lang.IllegalStateException
dup
ldc "Stream already closed"
invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.xml.internal.org.jvnet.mimepull.ChunkInputStream.msg:Lcom/sun/xml/internal/org/jvnet/mimepull/MIMEMessage;
invokevirtual com.sun.xml.internal.org.jvnet.mimepull.MIMEMessage.makeProgress:()Z
pop
3: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.xml.internal.org.jvnet.mimepull.ChunkInputStream.part:Lcom/sun/xml/internal/org/jvnet/mimepull/MIMEPart;
getfield com.sun.xml.internal.org.jvnet.mimepull.MIMEPart.parsed:Z
ifne 4
aload 0
getfield com.sun.xml.internal.org.jvnet.mimepull.ChunkInputStream.current:Lcom/sun/xml/internal/org/jvnet/mimepull/Chunk;
getfield com.sun.xml.internal.org.jvnet.mimepull.Chunk.next:Lcom/sun/xml/internal/org/jvnet/mimepull/Chunk;
ifnull 2
4: StackMap locals:
StackMap stack:
aload 0
aload 0
getfield com.sun.xml.internal.org.jvnet.mimepull.ChunkInputStream.current:Lcom/sun/xml/internal/org/jvnet/mimepull/Chunk;
getfield com.sun.xml.internal.org.jvnet.mimepull.Chunk.next:Lcom/sun/xml/internal/org/jvnet/mimepull/Chunk;
putfield com.sun.xml.internal.org.jvnet.mimepull.ChunkInputStream.current:Lcom/sun/xml/internal/org/jvnet/mimepull/Chunk;
5: aload 0
getfield com.sun.xml.internal.org.jvnet.mimepull.ChunkInputStream.current:Lcom/sun/xml/internal/org/jvnet/mimepull/Chunk;
ifnonnull 7
6: iconst_0
ireturn
7: StackMap locals:
StackMap stack:
aload 0
iconst_0
putfield com.sun.xml.internal.org.jvnet.mimepull.ChunkInputStream.offset:I
8: aload 0
aload 0
getfield com.sun.xml.internal.org.jvnet.mimepull.ChunkInputStream.current:Lcom/sun/xml/internal/org/jvnet/mimepull/Chunk;
getfield com.sun.xml.internal.org.jvnet.mimepull.Chunk.data:Lcom/sun/xml/internal/org/jvnet/mimepull/Data;
invokeinterface com.sun.xml.internal.org.jvnet.mimepull.Data.read:()[B
putfield com.sun.xml.internal.org.jvnet.mimepull.ChunkInputStream.buf:[B
9: aload 0
aload 0
getfield com.sun.xml.internal.org.jvnet.mimepull.ChunkInputStream.current:Lcom/sun/xml/internal/org/jvnet/mimepull/Chunk;
getfield com.sun.xml.internal.org.jvnet.mimepull.Chunk.data:Lcom/sun/xml/internal/org/jvnet/mimepull/Data;
invokeinterface com.sun.xml.internal.org.jvnet.mimepull.Data.size:()I
putfield com.sun.xml.internal.org.jvnet.mimepull.ChunkInputStream.len:I
10: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.xml.internal.org.jvnet.mimepull.ChunkInputStream.offset:I
aload 0
getfield com.sun.xml.internal.org.jvnet.mimepull.ChunkInputStream.len:I
if_icmpeq 3
11: iconst_1
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Lcom/sun/xml/internal/org/jvnet/mimepull/ChunkInputStream;
public void close();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.io.InputStream.close:()V
1: aload 0
aconst_null
putfield com.sun.xml.internal.org.jvnet.mimepull.ChunkInputStream.current:Lcom/sun/xml/internal/org/jvnet/mimepull/Chunk;
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/sun/xml/internal/org/jvnet/mimepull/ChunkInputStream;
Exceptions:
throws java.io.IOException
}
SourceFile: "ChunkInputStream.java"