public class org.eclipse.jetty.util.IO
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.eclipse.jetty.util.IO
super_class: java.lang.Object
{
private static final org.eclipse.jetty.util.log.Logger LOG;
descriptor: Lorg/eclipse/jetty/util/log/Logger;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
public static final java.lang.String CRLF;
descriptor: Ljava/lang/String;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: "\r\n"
public static final byte[] CRLF_BYTES;
descriptor: [B
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
public static final int bufferSize;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 65536
private static org.eclipse.jetty.util.IO$NullOS __nullStream;
descriptor: Lorg/eclipse/jetty/util/IO$NullOS;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
private static org.eclipse.jetty.util.IO$ClosedIS __closedStream;
descriptor: Lorg/eclipse/jetty/util/IO$ClosedIS;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
private static org.eclipse.jetty.util.IO$NullWrite __nullWriter;
descriptor: Lorg/eclipse/jetty/util/IO$NullWrite;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
private static java.io.PrintWriter __nullPrintWriter;
descriptor: Ljava/io/PrintWriter;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=4, locals=0, args_size=0
0: ldc Lorg/eclipse/jetty/util/IO;
invokestatic org.eclipse.jetty.util.log.Log.getLogger:(Ljava/lang/Class;)Lorg/eclipse/jetty/util/log/Logger;
putstatic org.eclipse.jetty.util.IO.LOG:Lorg/eclipse/jetty/util/log/Logger;
1: iconst_2
newarray 8
dup
iconst_0
bipush 13
bastore
dup
iconst_1
bipush 10
bastore
putstatic org.eclipse.jetty.util.IO.CRLF_BYTES:[B
2: new org.eclipse.jetty.util.IO$NullOS
dup
invokespecial org.eclipse.jetty.util.IO$NullOS.<init>:()V
putstatic org.eclipse.jetty.util.IO.__nullStream:Lorg/eclipse/jetty/util/IO$NullOS;
3: new org.eclipse.jetty.util.IO$ClosedIS
dup
invokespecial org.eclipse.jetty.util.IO$ClosedIS.<init>:()V
putstatic org.eclipse.jetty.util.IO.__closedStream:Lorg/eclipse/jetty/util/IO$ClosedIS;
4: new org.eclipse.jetty.util.IO$NullWrite
dup
invokespecial org.eclipse.jetty.util.IO$NullWrite.<init>:()V
putstatic org.eclipse.jetty.util.IO.__nullWriter:Lorg/eclipse/jetty/util/IO$NullWrite;
5: new java.io.PrintWriter
dup
getstatic org.eclipse.jetty.util.IO.__nullWriter:Lorg/eclipse/jetty/util/IO$NullWrite;
invokespecial java.io.PrintWriter.<init>:(Ljava/io/Writer;)V
putstatic org.eclipse.jetty.util.IO.__nullPrintWriter:Ljava/io/PrintWriter;
return
LocalVariableTable:
Start End Slot Name Signature
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/eclipse/jetty/util/IO;
public static void copy(java.io.InputStream, java.io.OutputStream);
descriptor: (Ljava/io/InputStream;Ljava/io/OutputStream;)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
ldc -1
invokestatic org.eclipse.jetty.util.IO.copy:(Ljava/io/InputStream;Ljava/io/OutputStream;J)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 in Ljava/io/InputStream;
0 2 1 out Ljava/io/OutputStream;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
in
out
public static void copy(java.io.Reader, java.io.Writer);
descriptor: (Ljava/io/Reader;Ljava/io/Writer;)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
ldc -1
invokestatic org.eclipse.jetty.util.IO.copy:(Ljava/io/Reader;Ljava/io/Writer;J)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 in Ljava/io/Reader;
0 2 1 out Ljava/io/Writer;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
in
out
public static void copy(java.io.InputStream, java.io.OutputStream, long);
descriptor: (Ljava/io/InputStream;Ljava/io/OutputStream;J)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=7, args_size=3
start local 0 start local 1 start local 2 0: ldc 65536
newarray 8
astore 4
start local 4 1: ldc 65536
istore 5
start local 5 2: lload 2
lconst_0
lcmp
iflt 14
3: goto 12
4: StackMap locals: byte[] int
StackMap stack:
lload 2
ldc 65536
lcmp
ifge 5
lload 2
l2i
goto 6
StackMap locals:
StackMap stack:
5: ldc 65536
StackMap locals:
StackMap stack: int
6: istore 6
start local 6 7: aload 0
aload 4
iconst_0
iload 6
invokevirtual java.io.InputStream.read:([BII)I
istore 5
8: iload 5
iconst_m1
if_icmpne 10
9: goto 19
10: StackMap locals: int
StackMap stack:
lload 2
iload 5
i2l
lsub
lstore 2
11: aload 1
aload 4
iconst_0
iload 5
invokevirtual java.io.OutputStream.write:([BII)V
end local 6 12: StackMap locals:
StackMap stack:
lload 2
lconst_0
lcmp
ifgt 4
13: goto 19
14: StackMap locals:
StackMap stack:
aload 0
aload 4
iconst_0
ldc 65536
invokevirtual java.io.InputStream.read:([BII)I
istore 5
15: iload 5
ifge 17
16: goto 19
17: StackMap locals:
StackMap stack:
aload 1
aload 4
iconst_0
iload 5
invokevirtual java.io.OutputStream.write:([BII)V
18: goto 14
19: StackMap locals:
StackMap stack:
return
end local 5 end local 4 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 20 0 in Ljava/io/InputStream;
0 20 1 out Ljava/io/OutputStream;
0 20 2 byteCount J
1 20 4 buffer [B
2 20 5 len I
7 12 6 max I
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
in
out
byteCount
public static void copy(java.io.Reader, java.io.Writer, long);
descriptor: (Ljava/io/Reader;Ljava/io/Writer;J)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=7, args_size=3
start local 0 start local 1 start local 2 0: ldc 65536
newarray 5
astore 4
start local 4 1: ldc 65536
istore 5
start local 5 2: lload 2
lconst_0
lcmp
iflt 13
3: goto 11
4: StackMap locals: char[] int
StackMap stack:
lload 2
ldc 65536
lcmp
ifge 6
5: aload 0
aload 4
iconst_0
lload 2
l2i
invokevirtual java.io.Reader.read:([CII)I
istore 5
goto 7
6: StackMap locals:
StackMap stack:
aload 0
aload 4
iconst_0
ldc 65536
invokevirtual java.io.Reader.read:([CII)I
istore 5
7: StackMap locals:
StackMap stack:
iload 5
iconst_m1
if_icmpne 9
8: goto 27
9: StackMap locals:
StackMap stack:
lload 2
iload 5
i2l
lsub
lstore 2
10: aload 1
aload 4
iconst_0
iload 5
invokevirtual java.io.Writer.write:([CII)V
11: StackMap locals:
StackMap stack:
lload 2
lconst_0
lcmp
ifgt 4
12: goto 27
13: StackMap locals:
StackMap stack:
aload 1
instanceof java.io.PrintWriter
ifeq 22
14: aload 1
checkcast java.io.PrintWriter
astore 6
start local 6 15: goto 20
16: StackMap locals: java.io.PrintWriter
StackMap stack:
aload 0
aload 4
iconst_0
ldc 65536
invokevirtual java.io.Reader.read:([CII)I
istore 5
17: iload 5
iconst_m1
if_icmpne 19
18: goto 27
19: StackMap locals:
StackMap stack:
aload 1
aload 4
iconst_0
iload 5
invokevirtual java.io.Writer.write:([CII)V
20: StackMap locals:
StackMap stack:
aload 6
invokevirtual java.io.PrintWriter.checkError:()Z
ifeq 16
end local 6 21: goto 27
22: StackMap locals:
StackMap stack:
aload 0
aload 4
iconst_0
ldc 65536
invokevirtual java.io.Reader.read:([CII)I
istore 5
23: iload 5
iconst_m1
if_icmpne 25
24: goto 27
25: StackMap locals:
StackMap stack:
aload 1
aload 4
iconst_0
iload 5
invokevirtual java.io.Writer.write:([CII)V
26: goto 22
27: StackMap locals:
StackMap stack:
return
end local 5 end local 4 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 28 0 in Ljava/io/Reader;
0 28 1 out Ljava/io/Writer;
0 28 2 byteCount J
1 28 4 buffer [C
2 28 5 len I
15 21 6 pout Ljava/io/PrintWriter;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
in
out
byteCount
public static void copy(java.io.File, java.io.File);
descriptor: (Ljava/io/File;Ljava/io/File;)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual java.io.File.isDirectory:()Z
ifeq 2
1: aload 0
aload 1
invokestatic org.eclipse.jetty.util.IO.copyDir:(Ljava/io/File;Ljava/io/File;)V
goto 3
2: StackMap locals:
StackMap stack:
aload 0
aload 1
invokestatic org.eclipse.jetty.util.IO.copyFile:(Ljava/io/File;Ljava/io/File;)V
3: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 from Ljava/io/File;
0 4 1 to Ljava/io/File;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
from
to
public static void copyDir(java.io.File, java.io.File);
descriptor: (Ljava/io/File;Ljava/io/File;)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=5, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual java.io.File.exists:()Z
ifeq 3
1: aload 1
invokevirtual java.io.File.isDirectory:()Z
ifne 4
2: new java.lang.IllegalArgumentException
dup
aload 1
invokevirtual java.io.File.toString:()Ljava/lang/String;
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
3: StackMap locals:
StackMap stack:
aload 1
invokevirtual java.io.File.mkdirs:()Z
pop
4: StackMap locals:
StackMap stack:
aload 0
invokevirtual java.io.File.listFiles:()[Ljava/io/File;
astore 2
start local 2 5: aload 2
ifnull 14
6: iconst_0
istore 3
start local 3 7: goto 13
8: StackMap locals: java.io.File[] int
StackMap stack:
aload 2
iload 3
aaload
invokevirtual java.io.File.getName:()Ljava/lang/String;
astore 4
start local 4 9: ldc "."
aload 4
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 12
ldc ".."
aload 4
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 11
10: goto 12
11: StackMap locals: java.lang.String
StackMap stack:
aload 2
iload 3
aaload
new java.io.File
dup
aload 1
aload 4
invokespecial java.io.File.<init>:(Ljava/io/File;Ljava/lang/String;)V
invokestatic org.eclipse.jetty.util.IO.copy:(Ljava/io/File;Ljava/io/File;)V
end local 4 12: StackMap locals:
StackMap stack:
iinc 3 1
StackMap locals:
StackMap stack:
13: iload 3
aload 2
arraylength
if_icmplt 8
end local 3 14: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 15 0 from Ljava/io/File;
0 15 1 to Ljava/io/File;
5 15 2 files [Ljava/io/File;
7 14 3 i I
9 12 4 name Ljava/lang/String;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
from
to
public static void copyFile(java.io.File, java.io.File);
descriptor: (Ljava/io/File;Ljava/io/File;)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=6, args_size=2
start local 0 start local 1 0: aconst_null
astore 2
aconst_null
astore 3
1: new java.io.FileInputStream
dup
aload 0
invokespecial java.io.FileInputStream.<init>:(Ljava/io/File;)V
astore 4
start local 4 2: new java.io.FileOutputStream
dup
aload 1
invokespecial java.io.FileOutputStream.<init>:(Ljava/io/File;)V
astore 5
start local 5 3: aload 4
aload 5
invokestatic org.eclipse.jetty.util.IO.copy:(Ljava/io/InputStream;Ljava/io/OutputStream;)V
4: aload 5
ifnull 7
aload 5
invokevirtual java.io.OutputStream.close:()V
goto 7
StackMap locals: java.io.File java.io.File java.lang.Throwable java.lang.Throwable java.io.InputStream java.io.OutputStream
StackMap stack: java.lang.Throwable
5: astore 2
aload 5
ifnull 6
aload 5
invokevirtual java.io.OutputStream.close:()V
end local 5 StackMap locals:
StackMap stack:
6: aload 2
athrow
StackMap locals:
StackMap stack:
7: aload 4
ifnull 15
aload 4
invokevirtual java.io.InputStream.close:()V
goto 15
StackMap locals:
StackMap stack: java.lang.Throwable
8: astore 3
aload 2
ifnonnull 9
aload 3
astore 2
goto 10
StackMap locals:
StackMap stack:
9: aload 2
aload 3
if_acmpeq 10
aload 2
aload 3
invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
StackMap locals:
StackMap stack:
10: aload 4
ifnull 11
aload 4
invokevirtual java.io.InputStream.close:()V
end local 4 StackMap locals:
StackMap stack:
11: aload 2
athrow
StackMap locals:
StackMap stack: java.lang.Throwable
12: astore 3
aload 2
ifnonnull 13
aload 3
astore 2
goto 14
StackMap locals:
StackMap stack:
13: aload 2
aload 3
if_acmpeq 14
aload 2
aload 3
invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
StackMap locals:
StackMap stack:
14: aload 2
athrow
15: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 16 0 from Ljava/io/File;
0 16 1 to Ljava/io/File;
2 11 4 in Ljava/io/InputStream;
3 6 5 out Ljava/io/OutputStream;
Exception table:
from to target type
3 4 5 any
2 7 8 any
1 12 12 any
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
from
to
public static java.lang.String toString(java.io.InputStream);
descriptor: (Ljava/io/InputStream;)Ljava/lang/String;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
aconst_null
invokestatic org.eclipse.jetty.util.IO.toString:(Ljava/io/InputStream;Ljava/nio/charset/Charset;)Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 in Ljava/io/InputStream;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
in
public static java.lang.String toString(java.io.InputStream, java.lang.String);
descriptor: (Ljava/io/InputStream;Ljava/lang/String;)Ljava/lang/String;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
ifnonnull 1
aconst_null
goto 2
StackMap locals:
StackMap stack: java.io.InputStream
1: aload 1
invokestatic java.nio.charset.Charset.forName:(Ljava/lang/String;)Ljava/nio/charset/Charset;
StackMap locals: java.io.InputStream java.lang.String
StackMap stack: java.io.InputStream java.nio.charset.Charset
2: invokestatic org.eclipse.jetty.util.IO.toString:(Ljava/io/InputStream;Ljava/nio/charset/Charset;)Ljava/lang/String;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 in Ljava/io/InputStream;
0 3 1 encoding Ljava/lang/String;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
in
encoding
public static java.lang.String toString(java.io.InputStream, java.nio.charset.Charset);
descriptor: (Ljava/io/InputStream;Ljava/nio/charset/Charset;)Ljava/lang/String;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=4, args_size=2
start local 0 start local 1 0: new java.io.StringWriter
dup
invokespecial java.io.StringWriter.<init>:()V
astore 2
start local 2 1: aload 1
ifnonnull 2
new java.io.InputStreamReader
dup
aload 0
invokespecial java.io.InputStreamReader.<init>:(Ljava/io/InputStream;)V
goto 3
StackMap locals: java.io.StringWriter
StackMap stack:
2: new java.io.InputStreamReader
dup
aload 0
aload 1
invokespecial java.io.InputStreamReader.<init>:(Ljava/io/InputStream;Ljava/nio/charset/Charset;)V
StackMap locals:
StackMap stack: java.io.InputStreamReader
3: astore 3
start local 3 4: aload 3
aload 2
invokestatic org.eclipse.jetty.util.IO.copy:(Ljava/io/Reader;Ljava/io/Writer;)V
5: aload 2
invokevirtual java.io.StringWriter.toString:()Ljava/lang/String;
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 in Ljava/io/InputStream;
0 6 1 encoding Ljava/nio/charset/Charset;
1 6 2 writer Ljava/io/StringWriter;
4 6 3 reader Ljava/io/InputStreamReader;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
in
encoding
public static java.lang.String toString(java.io.Reader);
descriptor: (Ljava/io/Reader;)Ljava/lang/String;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: new java.io.StringWriter
dup
invokespecial java.io.StringWriter.<init>:()V
astore 1
start local 1 1: aload 0
aload 1
invokestatic org.eclipse.jetty.util.IO.copy:(Ljava/io/Reader;Ljava/io/Writer;)V
2: aload 1
invokevirtual java.io.StringWriter.toString:()Ljava/lang/String;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 in Ljava/io/Reader;
1 3 1 writer Ljava/io/StringWriter;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
in
public static boolean delete(java.io.File);
descriptor: (Ljava/io/File;)Z
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=3, args_size=1
start local 0 0: aload 0
invokevirtual java.io.File.exists:()Z
ifne 2
1: iconst_0
ireturn
2: StackMap locals:
StackMap stack:
aload 0
invokevirtual java.io.File.isDirectory:()Z
ifeq 9
3: aload 0
invokevirtual java.io.File.listFiles:()[Ljava/io/File;
astore 1
start local 1 4: iconst_0
istore 2
start local 2 5: goto 8
6: StackMap locals: java.io.File[] int
StackMap stack:
aload 1
iload 2
aaload
invokestatic org.eclipse.jetty.util.IO.delete:(Ljava/io/File;)Z
pop
7: iinc 2 1
StackMap locals:
StackMap stack:
8: aload 1
ifnull 9
iload 2
aload 1
arraylength
if_icmplt 6
end local 2 end local 1 9: StackMap locals:
StackMap stack:
aload 0
invokevirtual java.io.File.delete:()Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 file Ljava/io/File;
4 9 1 files [Ljava/io/File;
5 9 2 i I
MethodParameters:
Name Flags
file
public static void close(java.io.Closeable);
descriptor: (Ljava/io/Closeable;)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
ifnull 5
1: aload 0
invokeinterface java.io.Closeable.close:()V
2: goto 5
3: StackMap locals:
StackMap stack: java.io.IOException
astore 1
start local 1 4: getstatic org.eclipse.jetty.util.IO.LOG:Lorg/eclipse/jetty/util/log/Logger;
aload 1
invokeinterface org.eclipse.jetty.util.log.Logger.ignore:(Ljava/lang/Throwable;)V
end local 1 5: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 closeable Ljava/io/Closeable;
4 5 1 ignore Ljava/io/IOException;
Exception table:
from to target type
0 2 3 Class java.io.IOException
MethodParameters:
Name Flags
closeable
public static void close(java.io.InputStream);
descriptor: (Ljava/io/InputStream;)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokestatic org.eclipse.jetty.util.IO.close:(Ljava/io/Closeable;)V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 is Ljava/io/InputStream;
MethodParameters:
Name Flags
is
public static void close(java.io.OutputStream);
descriptor: (Ljava/io/OutputStream;)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokestatic org.eclipse.jetty.util.IO.close:(Ljava/io/Closeable;)V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 os Ljava/io/OutputStream;
MethodParameters:
Name Flags
os
public static void close(java.io.Reader);
descriptor: (Ljava/io/Reader;)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokestatic org.eclipse.jetty.util.IO.close:(Ljava/io/Closeable;)V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 reader Ljava/io/Reader;
MethodParameters:
Name Flags
reader
public static void close(java.io.Writer);
descriptor: (Ljava/io/Writer;)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokestatic org.eclipse.jetty.util.IO.close:(Ljava/io/Closeable;)V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 writer Ljava/io/Writer;
MethodParameters:
Name Flags
writer
public static byte[] readBytes(java.io.InputStream);
descriptor: (Ljava/io/InputStream;)[B
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: new java.io.ByteArrayOutputStream
dup
invokespecial java.io.ByteArrayOutputStream.<init>:()V
astore 1
start local 1 1: aload 0
aload 1
invokestatic org.eclipse.jetty.util.IO.copy:(Ljava/io/InputStream;Ljava/io/OutputStream;)V
2: aload 1
invokevirtual java.io.ByteArrayOutputStream.toByteArray:()[B
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 in Ljava/io/InputStream;
1 3 1 bout Ljava/io/ByteArrayOutputStream;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
in
public static long write(java.nio.channels.GatheringByteChannel, java.nio.ByteBuffer[], int, int);
descriptor: (Ljava/nio/channels/GatheringByteChannel;[Ljava/nio/ByteBuffer;II)J
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=9, args_size=4
start local 0 start local 1 start local 2 start local 3 0: lconst_0
lstore 4
start local 4 1: goto 15
2: StackMap locals: long
StackMap stack:
aload 0
aload 1
iload 2
iload 3
invokeinterface java.nio.channels.GatheringByteChannel.write:([Ljava/nio/ByteBuffer;II)J
lstore 6
start local 6 3: lload 6
lconst_0
lcmp
ifne 5
4: goto 16
5: StackMap locals: long
StackMap stack:
lload 4
lload 6
ladd
lstore 4
6: iload 2
istore 8
start local 8 7: goto 13
8: StackMap locals: int
StackMap stack:
aload 1
iload 8
aaload
invokevirtual java.nio.ByteBuffer.hasRemaining:()Z
ifeq 12
9: iload 3
iload 8
iload 2
isub
isub
istore 3
10: iload 8
istore 2
11: goto 15
12: StackMap locals:
StackMap stack:
iinc 8 1
StackMap locals:
StackMap stack:
13: iload 8
aload 1
arraylength
if_icmplt 8
end local 8 14: iconst_0
istore 3
end local 6 15: StackMap locals:
StackMap stack:
iload 3
ifgt 2
16: StackMap locals:
StackMap stack:
lload 4
lreturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 17 0 out Ljava/nio/channels/GatheringByteChannel;
0 17 1 buffers [Ljava/nio/ByteBuffer;
0 17 2 offset I
0 17 3 length I
1 17 4 total J
3 15 6 wrote J
7 14 8 i I
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
out
buffers
offset
length
public static java.io.OutputStream getNullStream();
descriptor: ()Ljava/io/OutputStream;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: getstatic org.eclipse.jetty.util.IO.__nullStream:Lorg/eclipse/jetty/util/IO$NullOS;
areturn
LocalVariableTable:
Start End Slot Name Signature
public static java.io.InputStream getClosedStream();
descriptor: ()Ljava/io/InputStream;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: getstatic org.eclipse.jetty.util.IO.__closedStream:Lorg/eclipse/jetty/util/IO$ClosedIS;
areturn
LocalVariableTable:
Start End Slot Name Signature
public static java.io.Writer getNullWriter();
descriptor: ()Ljava/io/Writer;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: getstatic org.eclipse.jetty.util.IO.__nullWriter:Lorg/eclipse/jetty/util/IO$NullWrite;
areturn
LocalVariableTable:
Start End Slot Name Signature
public static java.io.PrintWriter getNullPrintWriter();
descriptor: ()Ljava/io/PrintWriter;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: getstatic org.eclipse.jetty.util.IO.__nullPrintWriter:Ljava/io/PrintWriter;
areturn
LocalVariableTable:
Start End Slot Name Signature
}
SourceFile: "IO.java"
NestMembers:
org.eclipse.jetty.util.IO$ClosedIS org.eclipse.jetty.util.IO$Job org.eclipse.jetty.util.IO$NullOS org.eclipse.jetty.util.IO$NullWrite
InnerClasses:
private ClosedIS = org.eclipse.jetty.util.IO$ClosedIS of org.eclipse.jetty.util.IO
Job = org.eclipse.jetty.util.IO$Job of org.eclipse.jetty.util.IO
private NullOS = org.eclipse.jetty.util.IO$NullOS of org.eclipse.jetty.util.IO
private NullWrite = org.eclipse.jetty.util.IO$NullWrite of org.eclipse.jetty.util.IO