public class javax.swing.ProgressMonitorInputStream extends java.io.FilterInputStream
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: javax.swing.ProgressMonitorInputStream
super_class: java.io.FilterInputStream
{
private javax.swing.ProgressMonitor monitor;
descriptor: Ljavax/swing/ProgressMonitor;
flags: (0x0002) ACC_PRIVATE
private int nread;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private int size;
descriptor: I
flags: (0x0002) ACC_PRIVATE
public void <init>(java.awt.Component, java.lang.Object, java.io.InputStream);
descriptor: (Ljava/awt/Component;Ljava/lang/Object;Ljava/io/InputStream;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=8, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
aload 3
invokespecial java.io.FilterInputStream.<init>:(Ljava/io/InputStream;)V
1: aload 0
iconst_0
putfield javax.swing.ProgressMonitorInputStream.nread:I
2: aload 0
iconst_0
putfield javax.swing.ProgressMonitorInputStream.size:I
3: aload 0
aload 3
invokevirtual java.io.InputStream.available:()I
putfield javax.swing.ProgressMonitorInputStream.size:I
4: goto 7
5: StackMap locals: javax.swing.ProgressMonitorInputStream java.awt.Component java.lang.Object java.io.InputStream
StackMap stack: java.io.IOException
pop
6: aload 0
iconst_0
putfield javax.swing.ProgressMonitorInputStream.size:I
7: StackMap locals:
StackMap stack:
aload 0
new javax.swing.ProgressMonitor
dup
aload 1
aload 2
aconst_null
iconst_0
aload 0
getfield javax.swing.ProgressMonitorInputStream.size:I
invokespecial javax.swing.ProgressMonitor.<init>:(Ljava/awt/Component;Ljava/lang/Object;Ljava/lang/String;II)V
putfield javax.swing.ProgressMonitorInputStream.monitor:Ljavax/swing/ProgressMonitor;
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/swing/ProgressMonitorInputStream;
0 9 1 parentComponent Ljava/awt/Component;
0 9 2 message Ljava/lang/Object;
0 9 3 in Ljava/io/InputStream;
Exception table:
from to target type
3 4 5 Class java.io.IOException
MethodParameters:
Name Flags
parentComponent
message
in
public javax.swing.ProgressMonitor getProgressMonitor();
descriptor: ()Ljavax/swing/ProgressMonitor;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield javax.swing.ProgressMonitorInputStream.monitor:Ljavax/swing/ProgressMonitor;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/swing/ProgressMonitorInputStream;
public int read();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=1
start local 0 0: aload 0
getfield javax.swing.ProgressMonitorInputStream.in:Ljava/io/InputStream;
invokevirtual java.io.InputStream.read:()I
istore 1
start local 1 1: iload 1
iflt 2
aload 0
getfield javax.swing.ProgressMonitorInputStream.monitor:Ljavax/swing/ProgressMonitor;
aload 0
dup
getfield javax.swing.ProgressMonitorInputStream.nread:I
iconst_1
iadd
dup_x1
putfield javax.swing.ProgressMonitorInputStream.nread:I
invokevirtual javax.swing.ProgressMonitor.setProgress:(I)V
2: StackMap locals: int
StackMap stack:
aload 0
getfield javax.swing.ProgressMonitorInputStream.monitor:Ljavax/swing/ProgressMonitor;
invokevirtual javax.swing.ProgressMonitor.isCanceled:()Z
ifeq 7
3: new java.io.InterruptedIOException
dup
ldc "progress"
invokespecial java.io.InterruptedIOException.<init>:(Ljava/lang/String;)V
4: astore 2
start local 2 5: aload 2
aload 0
getfield javax.swing.ProgressMonitorInputStream.nread:I
putfield java.io.InterruptedIOException.bytesTransferred:I
6: aload 2
athrow
end local 2 7: StackMap locals:
StackMap stack:
iload 1
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Ljavax/swing/ProgressMonitorInputStream;
1 8 1 c I
5 7 2 exc Ljava/io/InterruptedIOException;
Exceptions:
throws java.io.IOException
public int read(byte[]);
descriptor: ([B)I
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=4, args_size=2
start local 0 start local 1 0: aload 0
getfield javax.swing.ProgressMonitorInputStream.in:Ljava/io/InputStream;
aload 1
invokevirtual java.io.InputStream.read:([B)I
istore 2
start local 2 1: iload 2
ifle 2
aload 0
getfield javax.swing.ProgressMonitorInputStream.monitor:Ljavax/swing/ProgressMonitor;
aload 0
dup
getfield javax.swing.ProgressMonitorInputStream.nread:I
iload 2
iadd
dup_x1
putfield javax.swing.ProgressMonitorInputStream.nread:I
invokevirtual javax.swing.ProgressMonitor.setProgress:(I)V
2: StackMap locals: int
StackMap stack:
aload 0
getfield javax.swing.ProgressMonitorInputStream.monitor:Ljavax/swing/ProgressMonitor;
invokevirtual javax.swing.ProgressMonitor.isCanceled:()Z
ifeq 7
3: new java.io.InterruptedIOException
dup
ldc "progress"
invokespecial java.io.InterruptedIOException.<init>:(Ljava/lang/String;)V
4: astore 3
start local 3 5: aload 3
aload 0
getfield javax.swing.ProgressMonitorInputStream.nread:I
putfield java.io.InterruptedIOException.bytesTransferred:I
6: aload 3
athrow
end local 3 7: StackMap locals:
StackMap stack:
iload 2
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Ljavax/swing/ProgressMonitorInputStream;
0 8 1 b [B
1 8 2 nr I
5 7 3 exc Ljava/io/InterruptedIOException;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
b
public int read(byte[], int, int);
descriptor: ([BII)I
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=6, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
getfield javax.swing.ProgressMonitorInputStream.in:Ljava/io/InputStream;
aload 1
iload 2
iload 3
invokevirtual java.io.InputStream.read:([BII)I
istore 4
start local 4 1: iload 4
ifle 2
aload 0
getfield javax.swing.ProgressMonitorInputStream.monitor:Ljavax/swing/ProgressMonitor;
aload 0
dup
getfield javax.swing.ProgressMonitorInputStream.nread:I
iload 4
iadd
dup_x1
putfield javax.swing.ProgressMonitorInputStream.nread:I
invokevirtual javax.swing.ProgressMonitor.setProgress:(I)V
2: StackMap locals: int
StackMap stack:
aload 0
getfield javax.swing.ProgressMonitorInputStream.monitor:Ljavax/swing/ProgressMonitor;
invokevirtual javax.swing.ProgressMonitor.isCanceled:()Z
ifeq 7
3: new java.io.InterruptedIOException
dup
ldc "progress"
invokespecial java.io.InterruptedIOException.<init>:(Ljava/lang/String;)V
4: astore 5
start local 5 5: aload 5
aload 0
getfield javax.swing.ProgressMonitorInputStream.nread:I
putfield java.io.InterruptedIOException.bytesTransferred:I
6: aload 5
athrow
end local 5 7: StackMap locals:
StackMap stack:
iload 4
ireturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Ljavax/swing/ProgressMonitorInputStream;
0 8 1 b [B
0 8 2 off I
0 8 3 len I
1 8 4 nr I
5 7 5 exc Ljava/io/InterruptedIOException;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
b
off
len
public long skip(long);
descriptor: (J)J
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=5, args_size=2
start local 0 start local 1 0: aload 0
getfield javax.swing.ProgressMonitorInputStream.in:Ljava/io/InputStream;
lload 1
invokevirtual java.io.InputStream.skip:(J)J
lstore 3
start local 3 1: lload 3
lconst_0
lcmp
ifle 2
aload 0
getfield javax.swing.ProgressMonitorInputStream.monitor:Ljavax/swing/ProgressMonitor;
aload 0
dup
getfield javax.swing.ProgressMonitorInputStream.nread:I
i2l
lload 3
ladd
l2i
dup_x1
putfield javax.swing.ProgressMonitorInputStream.nread:I
invokevirtual javax.swing.ProgressMonitor.setProgress:(I)V
2: StackMap locals: long
StackMap stack:
lload 3
lreturn
end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljavax/swing/ProgressMonitorInputStream;
0 3 1 n J
1 3 3 nr J
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
n
public void close();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield javax.swing.ProgressMonitorInputStream.in:Ljava/io/InputStream;
invokevirtual java.io.InputStream.close:()V
1: aload 0
getfield javax.swing.ProgressMonitorInputStream.monitor:Ljavax/swing/ProgressMonitor;
invokevirtual javax.swing.ProgressMonitor.close:()V
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljavax/swing/ProgressMonitorInputStream;
Exceptions:
throws java.io.IOException
public synchronized void reset();
descriptor: ()V
flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
getfield javax.swing.ProgressMonitorInputStream.in:Ljava/io/InputStream;
invokevirtual java.io.InputStream.reset:()V
1: aload 0
aload 0
getfield javax.swing.ProgressMonitorInputStream.size:I
aload 0
getfield javax.swing.ProgressMonitorInputStream.in:Ljava/io/InputStream;
invokevirtual java.io.InputStream.available:()I
isub
putfield javax.swing.ProgressMonitorInputStream.nread:I
2: aload 0
getfield javax.swing.ProgressMonitorInputStream.monitor:Ljavax/swing/ProgressMonitor;
aload 0
getfield javax.swing.ProgressMonitorInputStream.nread:I
invokevirtual javax.swing.ProgressMonitor.setProgress:(I)V
3: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljavax/swing/ProgressMonitorInputStream;
Exceptions:
throws java.io.IOException
}
SourceFile: "ProgressMonitorInputStream.java"