public abstract class javax.imageio.spi.ImageWriterSpi extends javax.imageio.spi.ImageReaderWriterSpi
minor version: 0
major version: 59
flags: flags: (0x0421) ACC_PUBLIC, ACC_SUPER, ACC_ABSTRACT
this_class: javax.imageio.spi.ImageWriterSpi
super_class: javax.imageio.spi.ImageReaderWriterSpi
{
public static final java.lang.Class<?>[] STANDARD_OUTPUT_TYPE;
descriptor: [Ljava/lang/Class;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
Signature: [Ljava/lang/Class<*>;
RuntimeVisibleAnnotations:
java.lang.Deprecated()
protected java.lang.Class<?>[] outputTypes;
descriptor: [Ljava/lang/Class;
flags: (0x0004) ACC_PROTECTED
Signature: [Ljava/lang/Class<*>;
protected java.lang.String[] readerSpiNames;
descriptor: [Ljava/lang/String;
flags: (0x0004) ACC_PROTECTED
private java.lang.Class<?> writerClass;
descriptor: Ljava/lang/Class;
flags: (0x0002) ACC_PRIVATE
Signature: Ljava/lang/Class<*>;
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=4, locals=0, args_size=0
0: iconst_1
anewarray java.lang.Class
dup
iconst_0
ldc Ljavax/imageio/stream/ImageOutputStream;
aastore
1: putstatic javax.imageio.spi.ImageWriterSpi.STANDARD_OUTPUT_TYPE:[Ljava/lang/Class;
2: return
LocalVariableTable:
Start End Slot Name Signature
protected void <init>();
descriptor: ()V
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokespecial javax.imageio.spi.ImageReaderWriterSpi.<init>:()V
1: aload 0
aconst_null
putfield javax.imageio.spi.ImageWriterSpi.outputTypes:[Ljava/lang/Class;
2: aload 0
aconst_null
putfield javax.imageio.spi.ImageWriterSpi.readerSpiNames:[Ljava/lang/String;
3: aload 0
aconst_null
putfield javax.imageio.spi.ImageWriterSpi.writerClass:Ljava/lang/Class;
4: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Ljavax/imageio/spi/ImageWriterSpi;
public void <init>(java.lang.String, java.lang.String, java.lang.String[], java.lang.String[], java.lang.String[], java.lang.String, java.lang.Class<?>[], java.lang.String[], boolean, java.lang.String, java.lang.String, java.lang.String[], java.lang.String[], boolean, java.lang.String, java.lang.String, java.lang.String[], java.lang.String[]);
descriptor: (Ljava/lang/String;Ljava/lang/String;[Ljava/lang/String;[Ljava/lang/String;[Ljava/lang/String;Ljava/lang/String;[Ljava/lang/Class;[Ljava/lang/String;ZLjava/lang/String;Ljava/lang/String;[Ljava/lang/String;[Ljava/lang/String;ZLjava/lang/String;Ljava/lang/String;[Ljava/lang/String;[Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=17, locals=19, args_size=19
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 start local 6 start local 7 start local 8 start local 9 start local 10 start local 11 start local 12 start local 13 start local 14 start local 15 start local 16 start local 17 start local 18 0: aload 0
aload 1
aload 2
1: aload 3
aload 4
aload 5
aload 6
2: iload 9
3: aload 10
4: aload 11
5: aload 12
6: aload 13
7: iload 14
8: aload 15
9: aload 16
10: aload 17
11: aload 18
invokespecial javax.imageio.spi.ImageReaderWriterSpi.<init>:(Ljava/lang/String;Ljava/lang/String;[Ljava/lang/String;[Ljava/lang/String;[Ljava/lang/String;Ljava/lang/String;ZLjava/lang/String;Ljava/lang/String;[Ljava/lang/String;[Ljava/lang/String;ZLjava/lang/String;Ljava/lang/String;[Ljava/lang/String;[Ljava/lang/String;)V
12: aload 0
aconst_null
putfield javax.imageio.spi.ImageWriterSpi.outputTypes:[Ljava/lang/Class;
13: aload 0
aconst_null
putfield javax.imageio.spi.ImageWriterSpi.readerSpiNames:[Ljava/lang/String;
14: aload 0
aconst_null
putfield javax.imageio.spi.ImageWriterSpi.writerClass:Ljava/lang/Class;
15: aload 7
ifnonnull 19
16: new java.lang.IllegalArgumentException
dup
17: ldc "outputTypes == null!"
18: invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
19: StackMap locals: javax.imageio.spi.ImageWriterSpi java.lang.String java.lang.String java.lang.String[] java.lang.String[] java.lang.String[] java.lang.String java.lang.Class[] java.lang.String[] int java.lang.String java.lang.String java.lang.String[] java.lang.String[] int java.lang.String java.lang.String java.lang.String[] java.lang.String[]
StackMap stack:
aload 7
arraylength
ifne 23
20: new java.lang.IllegalArgumentException
dup
21: ldc "outputTypes.length == 0!"
22: invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
23: StackMap locals:
StackMap stack:
aload 0
aload 7
getstatic javax.imageio.spi.ImageWriterSpi.STANDARD_OUTPUT_TYPE:[Ljava/lang/Class;
if_acmpne 25
24: iconst_1
anewarray java.lang.Class
dup
iconst_0
ldc Ljavax/imageio/stream/ImageOutputStream;
aastore
goto 26
25: StackMap locals:
StackMap stack: javax.imageio.spi.ImageWriterSpi
aload 7
invokevirtual java.lang.Class[].clone:()Ljava/lang/Object;
checkcast java.lang.Class[]
26: StackMap locals: javax.imageio.spi.ImageWriterSpi java.lang.String java.lang.String java.lang.String[] java.lang.String[] java.lang.String[] java.lang.String java.lang.Class[] java.lang.String[] int java.lang.String java.lang.String java.lang.String[] java.lang.String[] int java.lang.String java.lang.String java.lang.String[] java.lang.String[]
StackMap stack: javax.imageio.spi.ImageWriterSpi java.lang.Class[]
putfield javax.imageio.spi.ImageWriterSpi.outputTypes:[Ljava/lang/Class;
27: aload 8
ifnull 29
aload 8
arraylength
ifle 29
28: aload 0
aload 8
invokevirtual java.lang.String[].clone:()Ljava/lang/Object;
checkcast java.lang.String[]
putfield javax.imageio.spi.ImageWriterSpi.readerSpiNames:[Ljava/lang/String;
29: StackMap locals:
StackMap stack:
return
end local 18 end local 17 end local 16 end local 15 end local 14 end local 13 end local 12 end local 11 end local 10 end local 9 end local 8 end local 7 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 30 0 this Ljavax/imageio/spi/ImageWriterSpi;
0 30 1 vendorName Ljava/lang/String;
0 30 2 version Ljava/lang/String;
0 30 3 names [Ljava/lang/String;
0 30 4 suffixes [Ljava/lang/String;
0 30 5 MIMETypes [Ljava/lang/String;
0 30 6 writerClassName Ljava/lang/String;
0 30 7 outputTypes [Ljava/lang/Class;
0 30 8 readerSpiNames [Ljava/lang/String;
0 30 9 supportsStandardStreamMetadataFormat Z
0 30 10 nativeStreamMetadataFormatName Ljava/lang/String;
0 30 11 nativeStreamMetadataFormatClassName Ljava/lang/String;
0 30 12 extraStreamMetadataFormatNames [Ljava/lang/String;
0 30 13 extraStreamMetadataFormatClassNames [Ljava/lang/String;
0 30 14 supportsStandardImageMetadataFormat Z
0 30 15 nativeImageMetadataFormatName Ljava/lang/String;
0 30 16 nativeImageMetadataFormatClassName Ljava/lang/String;
0 30 17 extraImageMetadataFormatNames [Ljava/lang/String;
0 30 18 extraImageMetadataFormatClassNames [Ljava/lang/String;
Signature: (Ljava/lang/String;Ljava/lang/String;[Ljava/lang/String;[Ljava/lang/String;[Ljava/lang/String;Ljava/lang/String;[Ljava/lang/Class<*>;[Ljava/lang/String;ZLjava/lang/String;Ljava/lang/String;[Ljava/lang/String;[Ljava/lang/String;ZLjava/lang/String;Ljava/lang/String;[Ljava/lang/String;[Ljava/lang/String;)V
MethodParameters:
Name Flags
vendorName
version
names
suffixes
MIMETypes
writerClassName
outputTypes
readerSpiNames
supportsStandardStreamMetadataFormat
nativeStreamMetadataFormatName
nativeStreamMetadataFormatClassName
extraStreamMetadataFormatNames
extraStreamMetadataFormatClassNames
supportsStandardImageMetadataFormat
nativeImageMetadataFormatName
nativeImageMetadataFormatClassName
extraImageMetadataFormatNames
extraImageMetadataFormatClassNames
public boolean isFormatLossless();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: iconst_1
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/imageio/spi/ImageWriterSpi;
public java.lang.Class<?>[] getOutputTypes();
descriptor: ()[Ljava/lang/Class;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield javax.imageio.spi.ImageWriterSpi.outputTypes:[Ljava/lang/Class;
invokevirtual java.lang.Class[].clone:()Ljava/lang/Object;
checkcast java.lang.Class[]
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/imageio/spi/ImageWriterSpi;
Signature: ()[Ljava/lang/Class<*>;
public abstract boolean canEncodeImage(javax.imageio.ImageTypeSpecifier);
descriptor: (Ljavax/imageio/ImageTypeSpecifier;)Z
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
MethodParameters:
Name Flags
type
public boolean canEncodeImage(java.awt.image.RenderedImage);
descriptor: (Ljava/awt/image/RenderedImage;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokestatic javax.imageio.ImageTypeSpecifier.createFromRenderedImage:(Ljava/awt/image/RenderedImage;)Ljavax/imageio/ImageTypeSpecifier;
invokevirtual javax.imageio.spi.ImageWriterSpi.canEncodeImage:(Ljavax/imageio/ImageTypeSpecifier;)Z
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/imageio/spi/ImageWriterSpi;
0 1 1 im Ljava/awt/image/RenderedImage;
MethodParameters:
Name Flags
im
public javax.imageio.ImageWriter createWriterInstance();
descriptor: ()Ljavax/imageio/ImageWriter;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
aconst_null
invokevirtual javax.imageio.spi.ImageWriterSpi.createWriterInstance:(Ljava/lang/Object;)Ljavax/imageio/ImageWriter;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/imageio/spi/ImageWriterSpi;
Exceptions:
throws java.io.IOException
public abstract javax.imageio.ImageWriter createWriterInstance(java.lang.Object);
descriptor: (Ljava/lang/Object;)Ljavax/imageio/ImageWriter;
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
extension
public boolean isOwnWriter(javax.imageio.ImageWriter);
descriptor: (Ljavax/imageio/ImageWriter;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 1
ifnonnull 2
1: new java.lang.IllegalArgumentException
dup
ldc "writer == null!"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aload 1
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
astore 2
start local 2 3: aload 2
aload 0
getfield javax.imageio.spi.ImageWriterSpi.pluginClassName:Ljava/lang/String;
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljavax/imageio/spi/ImageWriterSpi;
0 4 1 writer Ljavax/imageio/ImageWriter;
3 4 2 name Ljava/lang/String;
MethodParameters:
Name Flags
writer
public java.lang.String[] getImageReaderSpiNames();
descriptor: ()[Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield javax.imageio.spi.ImageWriterSpi.readerSpiNames:[Ljava/lang/String;
ifnonnull 2
1: aconst_null
goto 3
StackMap locals:
StackMap stack:
2: aload 0
getfield javax.imageio.spi.ImageWriterSpi.readerSpiNames:[Ljava/lang/String;
invokevirtual java.lang.String[].clone:()Ljava/lang/Object;
checkcast java.lang.String[]
3: StackMap locals:
StackMap stack: java.lang.String[]
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljavax/imageio/spi/ImageWriterSpi;
}
SourceFile: "ImageWriterSpi.java"