abstract class com.sun.javafx.webkit.prism.PrismImage extends com.sun.webkit.graphics.WCImage
minor version: 0
major version: 59
flags: flags: (0x0420) ACC_SUPER, ACC_ABSTRACT
this_class: com.sun.javafx.webkit.prism.PrismImage
super_class: com.sun.webkit.graphics.WCImage
{
void <init>();
descriptor: ()V
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial com.sun.webkit.graphics.WCImage.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/javafx/webkit/prism/PrismImage;
abstract com.sun.prism.Image getImage();
descriptor: ()Lcom/sun/prism/Image;
flags: (0x0400) ACC_ABSTRACT
abstract com.sun.prism.Graphics getGraphics();
descriptor: ()Lcom/sun/prism/Graphics;
flags: (0x0400) ACC_ABSTRACT
abstract void draw(com.sun.prism.Graphics, int, int, int, int, int, int, int, int);
descriptor: (Lcom/sun/prism/Graphics;IIIIIIII)V
flags: (0x0400) ACC_ABSTRACT
MethodParameters:
Name Flags
g
dstx1
dsty1
dstx2
dsty2
srcx1
srcy1
srcx2
srcy2
abstract void dispose();
descriptor: ()V
flags: (0x0400) ACC_ABSTRACT
public java.lang.Object getPlatformImage();
descriptor: ()Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual com.sun.javafx.webkit.prism.PrismImage.getImage:()Lcom/sun/prism/Image;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/javafx/webkit/prism/PrismImage;
public void deref();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial com.sun.webkit.graphics.WCImage.deref:()V
1: aload 0
invokevirtual com.sun.javafx.webkit.prism.PrismImage.hasRefs:()Z
ifne 3
2: aload 0
invokevirtual com.sun.javafx.webkit.prism.PrismImage.dispose:()V
3: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/sun/javafx/webkit/prism/PrismImage;
protected final byte[] toData(java.lang.String);
descriptor: (Ljava/lang/String;)[B
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
Code:
stack=2, locals=7, args_size=2
start local 0 start local 1 0: invokestatic com.sun.javafx.tk.Toolkit.getImageAccessor:()Lcom/sun/javafx/tk/Toolkit$ImageAccessor;
aload 0
invokevirtual com.sun.javafx.webkit.prism.PrismImage.getImage:()Lcom/sun/prism/Image;
invokeinterface com.sun.javafx.tk.Toolkit$ImageAccessor.fromPlatformImage:(Ljava/lang/Object;)Ljavafx/scene/image/Image;
invokestatic com.sun.javafx.webkit.UIClientImpl.toBufferedImage:(Ljavafx/scene/image/Image;)Ljava/awt/image/BufferedImage;
astore 2
start local 2 1: aload 2
instanceof java.awt.image.BufferedImage
ifeq 18
2: aload 1
invokestatic javax.imageio.ImageIO.getImageWritersByMIMEType:(Ljava/lang/String;)Ljava/util/Iterator;
astore 3
start local 3 3: goto 17
4: StackMap locals: java.lang.Object java.util.Iterator
StackMap stack:
new java.io.ByteArrayOutputStream
dup
invokespecial java.io.ByteArrayOutputStream.<init>:()V
astore 4
start local 4 5: aload 3
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast javax.imageio.ImageWriter
astore 5
start local 5 6: aload 5
aload 4
invokestatic javax.imageio.ImageIO.createImageOutputStream:(Ljava/lang/Object;)Ljavax/imageio/stream/ImageOutputStream;
invokevirtual javax.imageio.ImageWriter.setOutput:(Ljava/lang/Object;)V
7: aload 5
aload 2
checkcast java.awt.image.BufferedImage
invokevirtual javax.imageio.ImageWriter.write:(Ljava/awt/image/RenderedImage;)V
8: goto 15
9: StackMap locals: com.sun.javafx.webkit.prism.PrismImage java.lang.String java.lang.Object java.util.Iterator java.io.ByteArrayOutputStream javax.imageio.ImageWriter
StackMap stack: java.io.IOException
pop
10: aload 5
invokevirtual javax.imageio.ImageWriter.dispose:()V
11: goto 17
12: StackMap locals:
StackMap stack: java.lang.Throwable
astore 6
13: aload 5
invokevirtual javax.imageio.ImageWriter.dispose:()V
14: aload 6
athrow
15: StackMap locals:
StackMap stack:
aload 5
invokevirtual javax.imageio.ImageWriter.dispose:()V
16: aload 4
invokevirtual java.io.ByteArrayOutputStream.toByteArray:()[B
areturn
end local 5 end local 4 17: StackMap locals:
StackMap stack:
aload 3
invokeinterface java.util.Iterator.hasNext:()Z
ifne 4
end local 3 18: StackMap locals:
StackMap stack:
aconst_null
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 19 0 this Lcom/sun/javafx/webkit/prism/PrismImage;
0 19 1 mimeType Ljava/lang/String;
1 19 2 image Ljava/lang/Object;
3 18 3 it Ljava/util/Iterator<Ljavax/imageio/ImageWriter;>;
5 17 4 output Ljava/io/ByteArrayOutputStream;
6 17 5 writer Ljavax/imageio/ImageWriter;
Exception table:
from to target type
6 8 9 Class java.io.IOException
6 10 12 any
MethodParameters:
Name Flags
mimeType
protected final java.lang.String toDataURL(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/String;
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
Code:
stack=3, locals=4, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokevirtual com.sun.javafx.webkit.prism.PrismImage.toData:(Ljava/lang/String;)[B
astore 2
start local 2 1: aload 2
ifnull 6
2: new java.lang.StringBuilder
dup
invokespecial java.lang.StringBuilder.<init>:()V
astore 3
start local 3 3: aload 3
ldc "data:"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc ";base64,"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
4: aload 3
invokestatic java.util.Base64.getMimeEncoder:()Ljava/util/Base64$Encoder;
aload 2
invokevirtual java.util.Base64$Encoder.encodeToString:([B)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
5: aload 3
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 3 6: StackMap locals: byte[]
StackMap stack:
aconst_null
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lcom/sun/javafx/webkit/prism/PrismImage;
0 7 1 mimeType Ljava/lang/String;
1 7 2 data [B
3 6 3 sb Ljava/lang/StringBuilder;
MethodParameters:
Name Flags
mimeType
}
SourceFile: "PrismImage.java"
InnerClasses:
public abstract ImageAccessor = com.sun.javafx.tk.Toolkit$ImageAccessor of com.sun.javafx.tk.Toolkit
public Encoder = java.util.Base64$Encoder of java.util.Base64