public class com.sun.imageio.plugins.bmp.BMPImageWriterSpi extends javax.imageio.spi.ImageWriterSpi
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: com.sun.imageio.plugins.bmp.BMPImageWriterSpi
super_class: javax.imageio.spi.ImageWriterSpi
{
private static java.lang.String[] readerSpiNames;
descriptor: [Ljava/lang/String;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
private static java.lang.String[] formatNames;
descriptor: [Ljava/lang/String;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
private static java.lang.String[] entensions;
descriptor: [Ljava/lang/String;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
private static java.lang.String[] mimeType;
descriptor: [Ljava/lang/String;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
private boolean registered;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=4, locals=0, args_size=0
0: iconst_1
anewarray java.lang.String
dup
iconst_0
ldc "com.sun.imageio.plugins.bmp.BMPImageReaderSpi"
aastore
1: putstatic com.sun.imageio.plugins.bmp.BMPImageWriterSpi.readerSpiNames:[Ljava/lang/String;
2: iconst_2
anewarray java.lang.String
dup
iconst_0
ldc "bmp"
aastore
dup
iconst_1
ldc "BMP"
aastore
putstatic com.sun.imageio.plugins.bmp.BMPImageWriterSpi.formatNames:[Ljava/lang/String;
3: iconst_1
anewarray java.lang.String
dup
iconst_0
ldc "bmp"
aastore
putstatic com.sun.imageio.plugins.bmp.BMPImageWriterSpi.entensions:[Ljava/lang/String;
4: iconst_1
anewarray java.lang.String
dup
iconst_0
ldc "image/bmp"
aastore
putstatic com.sun.imageio.plugins.bmp.BMPImageWriterSpi.mimeType:[Ljava/lang/String;
return
LocalVariableTable:
Start End Slot Name Signature
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=19, locals=1, args_size=1
start local 0 0: aload 0
ldc "Oracle Corporation"
1: ldc "1.0"
2: getstatic com.sun.imageio.plugins.bmp.BMPImageWriterSpi.formatNames:[Ljava/lang/String;
3: getstatic com.sun.imageio.plugins.bmp.BMPImageWriterSpi.entensions:[Ljava/lang/String;
4: getstatic com.sun.imageio.plugins.bmp.BMPImageWriterSpi.mimeType:[Ljava/lang/String;
5: ldc "com.sun.imageio.plugins.bmp.BMPImageWriter"
6: iconst_1
anewarray java.lang.Class
dup
iconst_0
ldc Ljavax/imageio/stream/ImageOutputStream;
aastore
7: getstatic com.sun.imageio.plugins.bmp.BMPImageWriterSpi.readerSpiNames:[Ljava/lang/String;
8: iconst_0
9: aconst_null
aconst_null
aconst_null
aconst_null
10: iconst_1
11: ldc "javax_imageio_bmp_1.0"
12: ldc "com.sun.imageio.plugins.bmp.BMPMetadataFormat"
13: aconst_null
aconst_null
invokespecial javax.imageio.spi.ImageWriterSpi.<init>:(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
14: aload 0
iconst_0
putfield com.sun.imageio.plugins.bmp.BMPImageWriterSpi.registered:Z
15: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 16 0 this Lcom/sun/imageio/plugins/bmp/BMPImageWriterSpi;
public java.lang.String getDescription(java.util.Locale);
descriptor: (Ljava/util/Locale;)Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=2, args_size=2
start local 0 start local 1 0: ldc "Standard BMP Image Writer"
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/imageio/plugins/bmp/BMPImageWriterSpi;
0 1 1 locale Ljava/util/Locale;
MethodParameters:
Name Flags
locale
public void onRegistration(javax.imageio.spi.ServiceRegistry, java.lang.Class<?>);
descriptor: (Ljavax/imageio/spi/ServiceRegistry;Ljava/lang/Class;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield com.sun.imageio.plugins.bmp.BMPImageWriterSpi.registered:Z
ifeq 2
1: return
2: StackMap locals:
StackMap stack:
aload 0
iconst_1
putfield com.sun.imageio.plugins.bmp.BMPImageWriterSpi.registered:Z
3: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/sun/imageio/plugins/bmp/BMPImageWriterSpi;
0 4 1 registry Ljavax/imageio/spi/ServiceRegistry;
0 4 2 category Ljava/lang/Class<*>;
Signature: (Ljavax/imageio/spi/ServiceRegistry;Ljava/lang/Class<*>;)V
MethodParameters:
Name Flags
registry
category
public boolean canEncodeImage(javax.imageio.ImageTypeSpecifier);
descriptor: (Ljavax/imageio/ImageTypeSpecifier;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=5, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual javax.imageio.ImageTypeSpecifier.getSampleModel:()Ljava/awt/image/SampleModel;
invokevirtual java.awt.image.SampleModel.getDataType:()I
istore 2
start local 2 1: iload 2
iflt 2
iload 2
iconst_3
if_icmple 3
2: StackMap locals: int
StackMap stack:
iconst_0
ireturn
3: StackMap locals:
StackMap stack:
aload 1
invokevirtual javax.imageio.ImageTypeSpecifier.getSampleModel:()Ljava/awt/image/SampleModel;
astore 3
start local 3 4: aload 3
invokevirtual java.awt.image.SampleModel.getNumBands:()I
istore 4
start local 4 5: iload 4
iconst_1
if_icmpeq 7
iload 4
iconst_3
if_icmpeq 7
6: iconst_0
ireturn
7: StackMap locals: java.awt.image.SampleModel int
StackMap stack:
iload 4
iconst_1
if_icmpne 9
iload 2
ifeq 9
8: iconst_0
ireturn
9: StackMap locals:
StackMap stack:
iload 2
ifle 12
10: aload 3
instanceof java.awt.image.SinglePixelPackedSampleModel
ifne 12
11: iconst_0
ireturn
12: StackMap locals:
StackMap stack:
iconst_1
ireturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Lcom/sun/imageio/plugins/bmp/BMPImageWriterSpi;
0 13 1 type Ljavax/imageio/ImageTypeSpecifier;
1 13 2 dataType I
4 13 3 sm Ljava/awt/image/SampleModel;
5 13 4 numBands I
MethodParameters:
Name Flags
type
public javax.imageio.ImageWriter createWriterInstance(java.lang.Object);
descriptor: (Ljava/lang/Object;)Ljavax/imageio/ImageWriter;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: new com.sun.imageio.plugins.bmp.BMPImageWriter
dup
aload 0
invokespecial com.sun.imageio.plugins.bmp.BMPImageWriter.<init>:(Ljavax/imageio/spi/ImageWriterSpi;)V
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/imageio/plugins/bmp/BMPImageWriterSpi;
0 1 1 extension Ljava/lang/Object;
Exceptions:
throws javax.imageio.IIOException
MethodParameters:
Name Flags
extension
}
SourceFile: "BMPImageWriterSpi.java"