public abstract class com.sun.imageio.plugins.tiff.TIFFCompressor
minor version: 0
major version: 59
flags: flags: (0x0421) ACC_PUBLIC, ACC_SUPER, ACC_ABSTRACT
this_class: com.sun.imageio.plugins.tiff.TIFFCompressor
super_class: java.lang.Object
{
protected javax.imageio.ImageWriter writer;
descriptor: Ljavax/imageio/ImageWriter;
flags: (0x0004) ACC_PROTECTED
protected javax.imageio.metadata.IIOMetadata metadata;
descriptor: Ljavax/imageio/metadata/IIOMetadata;
flags: (0x0004) ACC_PROTECTED
protected java.lang.String compressionType;
descriptor: Ljava/lang/String;
flags: (0x0004) ACC_PROTECTED
protected int compressionTagValue;
descriptor: I
flags: (0x0004) ACC_PROTECTED
protected boolean isCompressionLossless;
descriptor: Z
flags: (0x0004) ACC_PROTECTED
protected javax.imageio.stream.ImageOutputStream stream;
descriptor: Ljavax/imageio/stream/ImageOutputStream;
flags: (0x0004) ACC_PROTECTED
public void <init>(java.lang.String, int, boolean);
descriptor: (Ljava/lang/String;IZ)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=8, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 1
ifnonnull 3
2: new java.lang.NullPointerException
dup
ldc "compressionType == null"
invokespecial java.lang.NullPointerException.<init>:(Ljava/lang/String;)V
athrow
3: StackMap locals: com.sun.imageio.plugins.tiff.TIFFCompressor java.lang.String int int
StackMap stack:
iload 2
iconst_1
if_icmpge 5
4: new java.lang.IllegalArgumentException
dup
ldc "compressionTagValue < 1"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
5: StackMap locals:
StackMap stack:
aload 0
aload 1
putfield com.sun.imageio.plugins.tiff.TIFFCompressor.compressionType:Ljava/lang/String;
6: iconst_m1
istore 4
start local 4 7: getstatic com.sun.imageio.plugins.tiff.TIFFImageWriter.compressionTypes:[Ljava/lang/String;
astore 5
start local 5 8: aload 5
arraylength
istore 6
start local 6 9: iconst_0
istore 7
start local 7 10: goto 15
11: StackMap locals: com.sun.imageio.plugins.tiff.TIFFCompressor java.lang.String int int int java.lang.String[] int int
StackMap stack:
aload 5
iload 7
aaload
aload 1
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 14
12: iload 7
istore 4
13: goto 16
14: StackMap locals:
StackMap stack:
iinc 7 1
StackMap locals:
StackMap stack:
15: iload 7
iload 6
if_icmplt 11
end local 7 16: StackMap locals:
StackMap stack:
iload 4
iconst_m1
if_icmpeq 24
17: aload 0
18: getstatic com.sun.imageio.plugins.tiff.TIFFImageWriter.compressionNumbers:[I
iload 4
iaload
19: putfield com.sun.imageio.plugins.tiff.TIFFCompressor.compressionTagValue:I
20: aload 0
21: getstatic com.sun.imageio.plugins.tiff.TIFFImageWriter.isCompressionLossless:[Z
iload 4
baload
22: putfield com.sun.imageio.plugins.tiff.TIFFCompressor.isCompressionLossless:Z
23: goto 26
24: StackMap locals:
StackMap stack:
aload 0
iload 2
putfield com.sun.imageio.plugins.tiff.TIFFCompressor.compressionTagValue:I
25: aload 0
iload 3
putfield com.sun.imageio.plugins.tiff.TIFFCompressor.isCompressionLossless:Z
26: StackMap locals:
StackMap stack:
return
end local 6 end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 27 0 this Lcom/sun/imageio/plugins/tiff/TIFFCompressor;
0 27 1 compressionType Ljava/lang/String;
0 27 2 compressionTagValue I
0 27 3 isCompressionLossless Z
7 27 4 compressionIndex I
8 27 5 compressionTypes [Ljava/lang/String;
9 27 6 len I
10 16 7 i I
MethodParameters:
Name Flags
compressionType
compressionTagValue
isCompressionLossless
public java.lang.String getCompressionType();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.imageio.plugins.tiff.TIFFCompressor.compressionType:Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/imageio/plugins/tiff/TIFFCompressor;
public int getCompressionTagValue();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.imageio.plugins.tiff.TIFFCompressor.compressionTagValue:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/imageio/plugins/tiff/TIFFCompressor;
public boolean isCompressionLossless();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.imageio.plugins.tiff.TIFFCompressor.isCompressionLossless:Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/imageio/plugins/tiff/TIFFCompressor;
public void setStream(javax.imageio.stream.ImageOutputStream);
descriptor: (Ljavax/imageio/stream/ImageOutputStream;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
putfield com.sun.imageio.plugins.tiff.TIFFCompressor.stream:Ljavax/imageio/stream/ImageOutputStream;
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/sun/imageio/plugins/tiff/TIFFCompressor;
0 2 1 stream Ljavax/imageio/stream/ImageOutputStream;
MethodParameters:
Name Flags
stream
public javax.imageio.stream.ImageOutputStream getStream();
descriptor: ()Ljavax/imageio/stream/ImageOutputStream;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.imageio.plugins.tiff.TIFFCompressor.stream:Ljavax/imageio/stream/ImageOutputStream;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/imageio/plugins/tiff/TIFFCompressor;
public void setWriter(javax.imageio.ImageWriter);
descriptor: (Ljavax/imageio/ImageWriter;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
putfield com.sun.imageio.plugins.tiff.TIFFCompressor.writer:Ljavax/imageio/ImageWriter;
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/sun/imageio/plugins/tiff/TIFFCompressor;
0 2 1 writer Ljavax/imageio/ImageWriter;
MethodParameters:
Name Flags
writer
public javax.imageio.ImageWriter getWriter();
descriptor: ()Ljavax/imageio/ImageWriter;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.imageio.plugins.tiff.TIFFCompressor.writer:Ljavax/imageio/ImageWriter;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/imageio/plugins/tiff/TIFFCompressor;
public void setMetadata(javax.imageio.metadata.IIOMetadata);
descriptor: (Ljavax/imageio/metadata/IIOMetadata;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
putfield com.sun.imageio.plugins.tiff.TIFFCompressor.metadata:Ljavax/imageio/metadata/IIOMetadata;
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/sun/imageio/plugins/tiff/TIFFCompressor;
0 2 1 metadata Ljavax/imageio/metadata/IIOMetadata;
MethodParameters:
Name Flags
metadata
public javax.imageio.metadata.IIOMetadata getMetadata();
descriptor: ()Ljavax/imageio/metadata/IIOMetadata;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.imageio.plugins.tiff.TIFFCompressor.metadata:Ljavax/imageio/metadata/IIOMetadata;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/imageio/plugins/tiff/TIFFCompressor;
public abstract int encode(byte[], int, int, int, int[], int);
descriptor: ([BIII[II)I
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
b
off
width
height
bitsPerSample
scanlineStride
}
SourceFile: "TIFFCompressor.java"