class com.sun.xml.internal.ws.util.ReadAllStream$FileStream extends java.io.InputStream
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: com.sun.xml.internal.ws.util.ReadAllStream$FileStream
super_class: java.io.InputStream
{
private java.io.File tempFile;
descriptor: Ljava/io/File;
flags: (0x0002) ACC_PRIVATE
RuntimeInvisibleAnnotations:
com.sun.istack.internal.Nullable()
private java.io.FileInputStream fin;
descriptor: Ljava/io/FileInputStream;
flags: (0x0002) ACC_PRIVATE
RuntimeInvisibleAnnotations:
com.sun.istack.internal.Nullable()
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.io.InputStream.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/xml/internal/ws/util/ReadAllStream$FileStream;
void readAll(java.io.InputStream);
descriptor: (Ljava/io/InputStream;)V
flags: (0x0000)
Code:
stack=4, locals=6, args_size=2
start local 0 start local 1 0: aload 0
ldc "jaxws"
ldc ".bin"
invokestatic java.io.File.createTempFile:(Ljava/lang/String;Ljava/lang/String;)Ljava/io/File;
putfield com.sun.xml.internal.ws.util.ReadAllStream$FileStream.tempFile:Ljava/io/File;
1: new java.io.FileOutputStream
dup
aload 0
getfield com.sun.xml.internal.ws.util.ReadAllStream$FileStream.tempFile:Ljava/io/File;
invokespecial java.io.FileOutputStream.<init>:(Ljava/io/File;)V
astore 2
start local 2 2: sipush 8192
newarray 8
astore 3
start local 3 3: goto 5
start local 4 4: StackMap locals: java.io.FileOutputStream byte[] int
StackMap stack:
aload 2
aload 3
iconst_0
iload 4
invokevirtual java.io.FileOutputStream.write:([BII)V
end local 4 5: StackMap locals:
StackMap stack:
aload 1
aload 3
invokevirtual java.io.InputStream.read:([B)I
dup
istore 4
start local 4 6: iconst_m1
if_icmpne 4
end local 4 end local 3 7: goto 11
StackMap locals: com.sun.xml.internal.ws.util.ReadAllStream$FileStream java.io.InputStream java.io.FileOutputStream
StackMap stack: java.lang.Throwable
8: astore 5
9: aload 2
invokevirtual java.io.FileOutputStream.close:()V
10: aload 5
athrow
11: StackMap locals:
StackMap stack:
aload 2
invokevirtual java.io.FileOutputStream.close:()V
12: aload 0
new java.io.FileInputStream
dup
aload 0
getfield com.sun.xml.internal.ws.util.ReadAllStream$FileStream.tempFile:Ljava/io/File;
invokespecial java.io.FileInputStream.<init>:(Ljava/io/File;)V
putfield com.sun.xml.internal.ws.util.ReadAllStream$FileStream.fin:Ljava/io/FileInputStream;
13: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 this Lcom/sun/xml/internal/ws/util/ReadAllStream$FileStream;
0 14 1 in Ljava/io/InputStream;
2 14 2 fileOut Ljava/io/FileOutputStream;
3 7 3 buf [B
4 5 4 len I
6 7 4 len I
Exception table:
from to target type
2 8 8 any
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
in
public int read();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.xml.internal.ws.util.ReadAllStream$FileStream.fin:Ljava/io/FileInputStream;
ifnull 1
aload 0
getfield com.sun.xml.internal.ws.util.ReadAllStream$FileStream.fin:Ljava/io/FileInputStream;
invokevirtual java.io.FileInputStream.read:()I
goto 2
StackMap locals:
StackMap stack:
1: iconst_m1
StackMap locals:
StackMap stack: int
2: ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/sun/xml/internal/ws/util/ReadAllStream$FileStream;
Exceptions:
throws java.io.IOException
public int read(byte[], int, int);
descriptor: ([BII)I
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
getfield com.sun.xml.internal.ws.util.ReadAllStream$FileStream.fin:Ljava/io/FileInputStream;
ifnull 1
aload 0
getfield com.sun.xml.internal.ws.util.ReadAllStream$FileStream.fin:Ljava/io/FileInputStream;
aload 1
iload 2
iload 3
invokevirtual java.io.FileInputStream.read:([BII)I
goto 2
StackMap locals:
StackMap stack:
1: iconst_m1
StackMap locals:
StackMap stack: int
2: ireturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/sun/xml/internal/ws/util/ReadAllStream$FileStream;
0 3 1 b [B
0 3 2 off I
0 3 3 sz I
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
b
off
sz
public void close();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=1
start local 0 0: aload 0
getfield com.sun.xml.internal.ws.util.ReadAllStream$FileStream.fin:Ljava/io/FileInputStream;
ifnull 2
1: aload 0
getfield com.sun.xml.internal.ws.util.ReadAllStream$FileStream.fin:Ljava/io/FileInputStream;
invokevirtual java.io.FileInputStream.close:()V
2: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.xml.internal.ws.util.ReadAllStream$FileStream.tempFile:Ljava/io/File;
ifnull 6
3: aload 0
getfield com.sun.xml.internal.ws.util.ReadAllStream$FileStream.tempFile:Ljava/io/File;
invokevirtual java.io.File.delete:()Z
istore 1
start local 1 4: iload 1
ifne 6
5: getstatic com.sun.xml.internal.ws.util.ReadAllStream.LOGGER:Ljava/util/logging/Logger;
getstatic java.util.logging.Level.INFO:Ljava/util/logging/Level;
ldc "File {0} could not be deleted"
aload 0
getfield com.sun.xml.internal.ws.util.ReadAllStream$FileStream.tempFile:Ljava/io/File;
invokevirtual java.util.logging.Logger.log:(Ljava/util/logging/Level;Ljava/lang/String;Ljava/lang/Object;)V
end local 1 6: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lcom/sun/xml/internal/ws/util/ReadAllStream$FileStream;
4 6 1 success Z
Exceptions:
throws java.io.IOException
}
SourceFile: "ReadAllStream.java"
NestHost: com.sun.xml.internal.ws.util.ReadAllStream
InnerClasses:
private FileStream = com.sun.xml.internal.ws.util.ReadAllStream$FileStream of com.sun.xml.internal.ws.util.ReadAllStream