public class org.apache.catalina.util.IOTools
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.apache.catalina.util.IOTools
super_class: java.lang.Object
{
protected static final int DEFAULT_BUFFER_SIZE;
descriptor: I
flags: (0x001c) ACC_PROTECTED, ACC_STATIC, ACC_FINAL
ConstantValue: 4096
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 Lorg/apache/catalina/util/IOTools;
public static void flow(java.io.Reader, java.io.Writer, char[]);
descriptor: (Ljava/io/Reader;Ljava/io/Writer;[C)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=4, args_size=3
start local 0 start local 1 start local 2 0: goto 2
start local 3 1: StackMap locals: int
StackMap stack:
aload 1
aload 2
iconst_0
iload 3
invokevirtual java.io.Writer.write:([CII)V
end local 3 2: StackMap locals:
StackMap stack:
aload 0
aload 2
invokevirtual java.io.Reader.read:([C)I
dup
istore 3
start local 3 3: ifge 1
4: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 reader Ljava/io/Reader;
0 5 1 writer Ljava/io/Writer;
0 5 2 buf [C
1 2 3 numRead I
3 5 3 numRead I
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
reader
writer
buf
public static void flow(java.io.Reader, java.io.Writer);
descriptor: (Ljava/io/Reader;Ljava/io/Writer;)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: sipush 4096
newarray 5
astore 2
start local 2 1: aload 0
aload 1
aload 2
invokestatic org.apache.catalina.util.IOTools.flow:(Ljava/io/Reader;Ljava/io/Writer;[C)V
2: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 reader Ljava/io/Reader;
0 3 1 writer Ljava/io/Writer;
1 3 2 buf [C
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
reader
writer
public static void flow(java.io.InputStream, java.io.OutputStream);
descriptor: (Ljava/io/InputStream;Ljava/io/OutputStream;)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=4, args_size=2
start local 0 start local 1 0: sipush 4096
newarray 8
astore 2
start local 2 1: goto 4
start local 3 2: StackMap locals: byte[] int
StackMap stack:
aload 1
ifnull 4
3: aload 1
aload 2
iconst_0
iload 3
invokevirtual java.io.OutputStream.write:([BII)V
end local 3 4: StackMap locals:
StackMap stack:
aload 0
aload 2
invokevirtual java.io.InputStream.read:([B)I
dup
istore 3
start local 3 5: ifge 2
6: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 is Ljava/io/InputStream;
0 7 1 os Ljava/io/OutputStream;
1 7 2 buf [B
2 4 3 numRead I
5 7 3 numRead I
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
is
os
public static int readFully(java.io.InputStream, byte[]);
descriptor: (Ljava/io/InputStream;[B)I
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=4, args_size=2
start local 0 start local 1 0: iconst_0
istore 2
start local 2 1: goto 3
start local 3 2: StackMap locals: int int
StackMap stack:
iload 2
iload 3
iadd
istore 2
end local 3 3: StackMap locals:
StackMap stack:
iload 2
aload 1
arraylength
if_icmpge 5
aload 0
aload 1
iload 2
aload 1
arraylength
iload 2
isub
invokevirtual java.io.InputStream.read:([BII)I
dup
istore 3
start local 3 4: ifge 2
end local 3 5: StackMap locals:
StackMap stack:
iload 2
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 is Ljava/io/InputStream;
0 6 1 buf [B
1 6 2 bytesRead I
2 3 3 read I
4 5 3 read I
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
is
buf
}
SourceFile: "IOTools.java"