public class com.sun.imageio.plugins.jpeg.JPEGImageWriterSpi extends javax.imageio.spi.ImageWriterSpi
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: com.sun.imageio.plugins.jpeg.JPEGImageWriterSpi
super_class: javax.imageio.spi.ImageWriterSpi
{
private static java.lang.String[] readerSpiNames;
descriptor: [Ljava/lang/String;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
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.jpeg.JPEGImageReaderSpi"
aastore
1: putstatic com.sun.imageio.plugins.jpeg.JPEGImageWriterSpi.readerSpiNames:[Ljava/lang/String;
2: 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 "0.5"
2: getstatic com.sun.imageio.plugins.jpeg.JPEG.names:[Ljava/lang/String;
3: getstatic com.sun.imageio.plugins.jpeg.JPEG.suffixes:[Ljava/lang/String;
4: getstatic com.sun.imageio.plugins.jpeg.JPEG.MIMETypes:[Ljava/lang/String;
5: ldc "com.sun.imageio.plugins.jpeg.JPEGImageWriter"
6: iconst_1
anewarray java.lang.Class
dup
iconst_0
ldc Ljavax/imageio/stream/ImageOutputStream;
aastore
7: getstatic com.sun.imageio.plugins.jpeg.JPEGImageWriterSpi.readerSpiNames:[Ljava/lang/String;
8: iconst_1
9: ldc "javax_imageio_jpeg_stream_1.0"
10: ldc "com.sun.imageio.plugins.jpeg.JPEGStreamMetadataFormat"
11: aconst_null
aconst_null
12: iconst_1
13: ldc "javax_imageio_jpeg_image_1.0"
14: ldc "com.sun.imageio.plugins.jpeg.JPEGImageMetadataFormat"
15: 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
16: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 17 0 this Lcom/sun/imageio/plugins/jpeg/JPEGImageWriterSpi;
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 JPEG Image Writer"
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/imageio/plugins/jpeg/JPEGImageWriterSpi;
0 1 1 locale Ljava/util/Locale;
MethodParameters:
Name Flags
locale
public boolean isFormatLossless();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/imageio/plugins/jpeg/JPEGImageWriterSpi;
public boolean canEncodeImage(javax.imageio.ImageTypeSpecifier);
descriptor: (Ljavax/imageio/ImageTypeSpecifier;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=7, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual javax.imageio.ImageTypeSpecifier.getSampleModel:()Ljava/awt/image/SampleModel;
astore 2
start local 2 1: aload 1
invokevirtual javax.imageio.ImageTypeSpecifier.getColorModel:()Ljava/awt/image/ColorModel;
astore 3
start local 3 2: aload 3
invokevirtual java.awt.image.ColorModel.hasAlpha:()Z
ifeq 4
3: iconst_0
ireturn
4: StackMap locals: java.awt.image.SampleModel java.awt.image.ColorModel
StackMap stack:
aload 2
invokevirtual java.awt.image.SampleModel.getSampleSize:()[I
astore 4
start local 4 5: aload 4
iconst_0
iaload
istore 5
start local 5 6: iconst_1
istore 6
start local 6 7: goto 11
8: StackMap locals: int[] int int
StackMap stack:
aload 4
iload 6
iaload
iload 5
if_icmple 10
9: aload 4
iload 6
iaload
istore 5
10: StackMap locals:
StackMap stack:
iinc 6 1
StackMap locals:
StackMap stack:
11: iload 6
aload 4
arraylength
if_icmplt 8
end local 6 12: iload 5
iconst_1
if_icmplt 13
iload 5
bipush 8
if_icmple 14
13: StackMap locals:
StackMap stack:
iconst_0
ireturn
14: StackMap locals:
StackMap stack:
iconst_1
ireturn
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 15 0 this Lcom/sun/imageio/plugins/jpeg/JPEGImageWriterSpi;
0 15 1 type Ljavax/imageio/ImageTypeSpecifier;
1 15 2 sampleModel Ljava/awt/image/SampleModel;
2 15 3 cm Ljava/awt/image/ColorModel;
5 15 4 sampleSize [I
6 15 5 bitDepth I
7 12 6 i 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.jpeg.JPEGImageWriter
dup
aload 0
invokespecial com.sun.imageio.plugins.jpeg.JPEGImageWriter.<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/jpeg/JPEGImageWriterSpi;
0 1 1 extension Ljava/lang/Object;
Exceptions:
throws javax.imageio.IIOException
MethodParameters:
Name Flags
extension
}
SourceFile: "JPEGImageWriterSpi.java"