public class java.util.zip.DeflaterOutputStream extends java.io.FilterOutputStream
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: java.util.zip.DeflaterOutputStream
super_class: java.io.FilterOutputStream
{
protected java.util.zip.Deflater def;
descriptor: Ljava/util/zip/Deflater;
flags: (0x0004) ACC_PROTECTED
protected byte[] buf;
descriptor: [B
flags: (0x0004) ACC_PROTECTED
private boolean closed;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private final boolean syncFlush;
descriptor: Z
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
boolean usesDefaultDeflater;
descriptor: Z
flags: (0x0000)
public void <init>(java.io.OutputStream, java.util.zip.Deflater, int, boolean);
descriptor: (Ljava/io/OutputStream;Ljava/util/zip/Deflater;IZ)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=5, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 0
aload 1
invokespecial java.io.FilterOutputStream.<init>:(Ljava/io/OutputStream;)V
1: aload 0
iconst_0
putfield java.util.zip.DeflaterOutputStream.closed:Z
2: aload 0
iconst_0
putfield java.util.zip.DeflaterOutputStream.usesDefaultDeflater:Z
3: aload 1
ifnull 4
aload 2
ifnonnull 5
4: StackMap locals: java.util.zip.DeflaterOutputStream java.io.OutputStream java.util.zip.Deflater int int
StackMap stack:
new java.lang.NullPointerException
dup
invokespecial java.lang.NullPointerException.<init>:()V
athrow
5: StackMap locals:
StackMap stack:
iload 3
ifgt 7
6: new java.lang.IllegalArgumentException
dup
ldc "buffer size <= 0"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
7: StackMap locals:
StackMap stack:
aload 0
aload 2
putfield java.util.zip.DeflaterOutputStream.def:Ljava/util/zip/Deflater;
8: aload 0
iload 3
newarray 8
putfield java.util.zip.DeflaterOutputStream.buf:[B
9: aload 0
iload 4
putfield java.util.zip.DeflaterOutputStream.syncFlush:Z
10: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Ljava/util/zip/DeflaterOutputStream;
0 11 1 out Ljava/io/OutputStream;
0 11 2 def Ljava/util/zip/Deflater;
0 11 3 size I
0 11 4 syncFlush Z
MethodParameters:
Name Flags
out
def
size
syncFlush
public void <init>(java.io.OutputStream, java.util.zip.Deflater, int);
descriptor: (Ljava/io/OutputStream;Ljava/util/zip/Deflater;I)V
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
aload 1
aload 2
iload 3
iconst_0
invokespecial java.util.zip.DeflaterOutputStream.<init>:(Ljava/io/OutputStream;Ljava/util/zip/Deflater;IZ)V
1: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljava/util/zip/DeflaterOutputStream;
0 2 1 out Ljava/io/OutputStream;
0 2 2 def Ljava/util/zip/Deflater;
0 2 3 size I
MethodParameters:
Name Flags
out
def
size
public void <init>(java.io.OutputStream, java.util.zip.Deflater, boolean);
descriptor: (Ljava/io/OutputStream;Ljava/util/zip/Deflater;Z)V
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
aload 1
aload 2
sipush 512
iload 3
invokespecial java.util.zip.DeflaterOutputStream.<init>:(Ljava/io/OutputStream;Ljava/util/zip/Deflater;IZ)V
1: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljava/util/zip/DeflaterOutputStream;
0 2 1 out Ljava/io/OutputStream;
0 2 2 def Ljava/util/zip/Deflater;
0 2 3 syncFlush Z
MethodParameters:
Name Flags
out
def
syncFlush
public void <init>(java.io.OutputStream, java.util.zip.Deflater);
descriptor: (Ljava/io/OutputStream;Ljava/util/zip/Deflater;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
aload 2
sipush 512
iconst_0
invokespecial java.util.zip.DeflaterOutputStream.<init>:(Ljava/io/OutputStream;Ljava/util/zip/Deflater;IZ)V
1: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljava/util/zip/DeflaterOutputStream;
0 2 1 out Ljava/io/OutputStream;
0 2 2 def Ljava/util/zip/Deflater;
MethodParameters:
Name Flags
out
def
public void <init>(java.io.OutputStream, boolean);
descriptor: (Ljava/io/OutputStream;Z)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
new java.util.zip.Deflater
dup
invokespecial java.util.zip.Deflater.<init>:()V
sipush 512
iload 2
invokespecial java.util.zip.DeflaterOutputStream.<init>:(Ljava/io/OutputStream;Ljava/util/zip/Deflater;IZ)V
1: aload 0
iconst_1
putfield java.util.zip.DeflaterOutputStream.usesDefaultDeflater:Z
2: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljava/util/zip/DeflaterOutputStream;
0 3 1 out Ljava/io/OutputStream;
0 3 2 syncFlush Z
MethodParameters:
Name Flags
out
syncFlush
public void <init>(java.io.OutputStream);
descriptor: (Ljava/io/OutputStream;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
iconst_0
invokespecial java.util.zip.DeflaterOutputStream.<init>:(Ljava/io/OutputStream;Z)V
1: aload 0
iconst_1
putfield java.util.zip.DeflaterOutputStream.usesDefaultDeflater:Z
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljava/util/zip/DeflaterOutputStream;
0 3 1 out Ljava/io/OutputStream;
MethodParameters:
Name Flags
out
public void write(int);
descriptor: (I)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=2
start local 0 start local 1 0: iconst_1
newarray 8
astore 2
start local 2 1: aload 2
iconst_0
iload 1
sipush 255
iand
i2b
bastore
2: aload 0
aload 2
iconst_0
iconst_1
invokevirtual java.util.zip.DeflaterOutputStream.write:([BII)V
3: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljava/util/zip/DeflaterOutputStream;
0 4 1 b I
1 4 2 buf [B
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
b
public void write(byte[], int, int);
descriptor: ([BII)V
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 java.util.zip.DeflaterOutputStream.def:Ljava/util/zip/Deflater;
invokevirtual java.util.zip.Deflater.finished:()Z
ifeq 2
1: new java.io.IOException
dup
ldc "write beyond end of stream"
invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
iload 2
iload 3
ior
iload 2
iload 3
iadd
ior
aload 1
arraylength
iload 2
iload 3
iadd
isub
ior
ifge 4
3: new java.lang.IndexOutOfBoundsException
dup
invokespecial java.lang.IndexOutOfBoundsException.<init>:()V
athrow
4: StackMap locals:
StackMap stack:
iload 3
ifne 6
5: return
6: StackMap locals:
StackMap stack:
aload 0
getfield java.util.zip.DeflaterOutputStream.def:Ljava/util/zip/Deflater;
invokevirtual java.util.zip.Deflater.finished:()Z
ifne 11
7: aload 0
getfield java.util.zip.DeflaterOutputStream.def:Ljava/util/zip/Deflater;
aload 1
iload 2
iload 3
invokevirtual java.util.zip.Deflater.setInput:([BII)V
8: goto 10
9: StackMap locals:
StackMap stack:
aload 0
invokevirtual java.util.zip.DeflaterOutputStream.deflate:()V
10: StackMap locals:
StackMap stack:
aload 0
getfield java.util.zip.DeflaterOutputStream.def:Ljava/util/zip/Deflater;
invokevirtual java.util.zip.Deflater.needsInput:()Z
ifeq 9
11: StackMap locals:
StackMap stack:
return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Ljava/util/zip/DeflaterOutputStream;
0 12 1 b [B
0 12 2 off I
0 12 3 len I
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
b
off
len
public void finish();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield java.util.zip.DeflaterOutputStream.def:Ljava/util/zip/Deflater;
invokevirtual java.util.zip.Deflater.finished:()Z
ifne 5
1: aload 0
getfield java.util.zip.DeflaterOutputStream.def:Ljava/util/zip/Deflater;
invokevirtual java.util.zip.Deflater.finish:()V
2: goto 4
3: StackMap locals:
StackMap stack:
aload 0
invokevirtual java.util.zip.DeflaterOutputStream.deflate:()V
4: StackMap locals:
StackMap stack:
aload 0
getfield java.util.zip.DeflaterOutputStream.def:Ljava/util/zip/Deflater;
invokevirtual java.util.zip.Deflater.finished:()Z
ifeq 3
5: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Ljava/util/zip/DeflaterOutputStream;
Exceptions:
throws java.io.IOException
public void close();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield java.util.zip.DeflaterOutputStream.closed:Z
ifne 6
1: aload 0
invokevirtual java.util.zip.DeflaterOutputStream.finish:()V
2: aload 0
getfield java.util.zip.DeflaterOutputStream.usesDefaultDeflater:Z
ifeq 4
3: aload 0
getfield java.util.zip.DeflaterOutputStream.def:Ljava/util/zip/Deflater;
invokevirtual java.util.zip.Deflater.end:()V
4: StackMap locals:
StackMap stack:
aload 0
getfield java.util.zip.DeflaterOutputStream.out:Ljava/io/OutputStream;
invokevirtual java.io.OutputStream.close:()V
5: aload 0
iconst_1
putfield java.util.zip.DeflaterOutputStream.closed:Z
6: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Ljava/util/zip/DeflaterOutputStream;
Exceptions:
throws java.io.IOException
protected void deflate();
descriptor: ()V
flags: (0x0004) ACC_PROTECTED
Code:
stack=4, locals=2, args_size=1
start local 0 0: aload 0
getfield java.util.zip.DeflaterOutputStream.def:Ljava/util/zip/Deflater;
aload 0
getfield java.util.zip.DeflaterOutputStream.buf:[B
iconst_0
aload 0
getfield java.util.zip.DeflaterOutputStream.buf:[B
arraylength
invokevirtual java.util.zip.Deflater.deflate:([BII)I
istore 1
start local 1 1: iload 1
ifle 3
2: aload 0
getfield java.util.zip.DeflaterOutputStream.out:Ljava/io/OutputStream;
aload 0
getfield java.util.zip.DeflaterOutputStream.buf:[B
iconst_0
iload 1
invokevirtual java.io.OutputStream.write:([BII)V
3: StackMap locals: int
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljava/util/zip/DeflaterOutputStream;
1 4 1 len I
Exceptions:
throws java.io.IOException
public void flush();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=2, args_size=1
start local 0 0: aload 0
getfield java.util.zip.DeflaterOutputStream.syncFlush:Z
ifeq 7
aload 0
getfield java.util.zip.DeflaterOutputStream.def:Ljava/util/zip/Deflater;
invokevirtual java.util.zip.Deflater.finished:()Z
ifne 7
1: iconst_0
istore 1
start local 1 2: goto 6
3: StackMap locals: int
StackMap stack:
aload 0
getfield java.util.zip.DeflaterOutputStream.out:Ljava/io/OutputStream;
aload 0
getfield java.util.zip.DeflaterOutputStream.buf:[B
iconst_0
iload 1
invokevirtual java.io.OutputStream.write:([BII)V
4: iload 1
aload 0
getfield java.util.zip.DeflaterOutputStream.buf:[B
arraylength
if_icmpge 6
5: goto 7
6: StackMap locals:
StackMap stack:
aload 0
getfield java.util.zip.DeflaterOutputStream.def:Ljava/util/zip/Deflater;
aload 0
getfield java.util.zip.DeflaterOutputStream.buf:[B
iconst_0
aload 0
getfield java.util.zip.DeflaterOutputStream.buf:[B
arraylength
iconst_2
invokevirtual java.util.zip.Deflater.deflate:([BIII)I
dup
istore 1
ifgt 3
end local 1 7: StackMap locals:
StackMap stack:
aload 0
getfield java.util.zip.DeflaterOutputStream.out:Ljava/io/OutputStream;
invokevirtual java.io.OutputStream.flush:()V
8: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Ljava/util/zip/DeflaterOutputStream;
2 7 1 len I
Exceptions:
throws java.io.IOException
}
SourceFile: "DeflaterOutputStream.java"