final class com.sun.javafx.webkit.PasteboardImpl implements com.sun.webkit.Pasteboard
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: com.sun.javafx.webkit.PasteboardImpl
super_class: java.lang.Object
{
private final javafx.scene.input.Clipboard clipboard;
descriptor: Ljavafx/scene/input/Clipboard;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
void <init>();
descriptor: ()V
flags: (0x0000)
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
invokestatic javafx.scene.input.Clipboard.getSystemClipboard:()Ljavafx/scene/input/Clipboard;
putfield com.sun.javafx.webkit.PasteboardImpl.clipboard:Ljavafx/scene/input/Clipboard;
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/sun/javafx/webkit/PasteboardImpl;
public java.lang.String getPlainText();
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.javafx.webkit.PasteboardImpl.clipboard:Ljavafx/scene/input/Clipboard;
invokevirtual javafx.scene.input.Clipboard.getString:()Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/javafx/webkit/PasteboardImpl;
public java.lang.String getHtml();
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.javafx.webkit.PasteboardImpl.clipboard:Ljavafx/scene/input/Clipboard;
invokevirtual javafx.scene.input.Clipboard.getHtml:()Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/javafx/webkit/PasteboardImpl;
public void writePlainText(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: new javafx.scene.input.ClipboardContent
dup
invokespecial javafx.scene.input.ClipboardContent.<init>:()V
astore 2
start local 2 1: aload 2
aload 1
invokevirtual javafx.scene.input.ClipboardContent.putString:(Ljava/lang/String;)Z
pop
2: aload 0
getfield com.sun.javafx.webkit.PasteboardImpl.clipboard:Ljavafx/scene/input/Clipboard;
aload 2
invokevirtual javafx.scene.input.Clipboard.setContent:(Ljava/util/Map;)Z
pop
3: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/sun/javafx/webkit/PasteboardImpl;
0 4 1 text Ljava/lang/String;
1 4 2 content Ljavafx/scene/input/ClipboardContent;
MethodParameters:
Name Flags
text
public void writeSelection(boolean, java.lang.String, java.lang.String);
descriptor: (ZLjava/lang/String;Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=5, args_size=4
start local 0 start local 1 start local 2 start local 3 0: new javafx.scene.input.ClipboardContent
dup
invokespecial javafx.scene.input.ClipboardContent.<init>:()V
astore 4
start local 4 1: aload 4
aload 2
invokevirtual javafx.scene.input.ClipboardContent.putString:(Ljava/lang/String;)Z
pop
2: aload 4
aload 3
invokevirtual javafx.scene.input.ClipboardContent.putHtml:(Ljava/lang/String;)Z
pop
3: aload 0
getfield com.sun.javafx.webkit.PasteboardImpl.clipboard:Ljavafx/scene/input/Clipboard;
aload 4
invokevirtual javafx.scene.input.Clipboard.setContent:(Ljava/util/Map;)Z
pop
4: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lcom/sun/javafx/webkit/PasteboardImpl;
0 5 1 canSmartCopyOrDelete Z
0 5 2 text Ljava/lang/String;
0 5 3 html Ljava/lang/String;
1 5 4 content Ljavafx/scene/input/ClipboardContent;
MethodParameters:
Name Flags
canSmartCopyOrDelete
text
html
public void writeImage(com.sun.webkit.graphics.WCImageFrame);
descriptor: (Lcom/sun/webkit/graphics/WCImageFrame;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=7, args_size=2
start local 0 start local 1 0: invokestatic com.sun.webkit.graphics.WCGraphicsManager.getGraphicsManager:()Lcom/sun/webkit/graphics/WCGraphicsManager;
1: aload 1
invokevirtual com.sun.webkit.graphics.WCImageFrame.getFrame:()Lcom/sun/webkit/graphics/WCImage;
invokevirtual com.sun.webkit.graphics.WCGraphicsManager.toPlatformImage:(Lcom/sun/webkit/graphics/WCImage;)Ljava/lang/Object;
2: astore 2
start local 2 3: invokestatic com.sun.javafx.tk.Toolkit.getImageAccessor:()Lcom/sun/javafx/tk/Toolkit$ImageAccessor;
aload 2
invokeinterface com.sun.javafx.tk.Toolkit$ImageAccessor.fromPlatformImage:(Ljava/lang/Object;)Ljavafx/scene/image/Image;
astore 3
start local 3 4: aload 3
ifnull 18
5: new javafx.scene.input.ClipboardContent
dup
invokespecial javafx.scene.input.ClipboardContent.<init>:()V
astore 4
start local 4 6: aload 4
aload 3
invokevirtual javafx.scene.input.ClipboardContent.putImage:(Ljavafx/scene/image/Image;)Z
pop
7: aload 1
invokevirtual com.sun.webkit.graphics.WCImageFrame.getFrame:()Lcom/sun/webkit/graphics/WCImage;
invokevirtual com.sun.webkit.graphics.WCImage.getFileExtension:()Ljava/lang/String;
astore 5
start local 5 8: ldc "jfx"
new java.lang.StringBuilder
dup
ldc "."
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 5
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokestatic java.io.File.createTempFile:(Ljava/lang/String;Ljava/lang/String;)Ljava/io/File;
astore 6
start local 6 9: aload 6
invokevirtual java.io.File.deleteOnExit:()V
10: aload 3
invokestatic com.sun.javafx.webkit.UIClientImpl.toBufferedImage:(Ljavafx/scene/image/Image;)Ljava/awt/image/BufferedImage;
11: aload 5
12: aload 6
13: invokestatic javax.imageio.ImageIO.write:(Ljava/awt/image/RenderedImage;Ljava/lang/String;Ljava/io/File;)Z
pop
14: aload 4
iconst_1
anewarray java.io.File
dup
iconst_0
aload 6
aastore
invokestatic java.util.Arrays.asList:([Ljava/lang/Object;)Ljava/util/List;
invokevirtual javafx.scene.input.ClipboardContent.putFiles:(Ljava/util/List;)Z
pop
end local 6 15: goto 17
StackMap locals: com.sun.javafx.webkit.PasteboardImpl com.sun.webkit.graphics.WCImageFrame java.lang.Object javafx.scene.image.Image javafx.scene.input.ClipboardContent java.lang.String
StackMap stack: java.lang.Exception
16: pop
17: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.javafx.webkit.PasteboardImpl.clipboard:Ljavafx/scene/input/Clipboard;
aload 4
invokevirtual javafx.scene.input.Clipboard.setContent:(Ljava/util/Map;)Z
pop
end local 5 end local 4 18: StackMap locals:
StackMap stack:
return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 19 0 this Lcom/sun/javafx/webkit/PasteboardImpl;
0 19 1 wcImage Lcom/sun/webkit/graphics/WCImageFrame;
3 19 2 platformImage Ljava/lang/Object;
4 19 3 fxImage Ljavafx/scene/image/Image;
6 18 4 content Ljavafx/scene/input/ClipboardContent;
8 18 5 fileExtension Ljava/lang/String;
9 15 6 imageDump Ljava/io/File;
Exception table:
from to target type
8 15 16 Class java.io.IOException
8 15 16 Class java.lang.SecurityException
MethodParameters:
Name Flags
wcImage
public void writeUrl(java.lang.String, java.lang.String);
descriptor: (Ljava/lang/String;Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=4, args_size=3
start local 0 start local 1 start local 2 0: new javafx.scene.input.ClipboardContent
dup
invokespecial javafx.scene.input.ClipboardContent.<init>:()V
astore 3
start local 3 1: aload 3
aload 1
invokevirtual javafx.scene.input.ClipboardContent.putString:(Ljava/lang/String;)Z
pop
2: aload 3
aload 2
invokevirtual javafx.scene.input.ClipboardContent.putHtml:(Ljava/lang/String;)Z
pop
3: aload 3
aload 1
invokevirtual javafx.scene.input.ClipboardContent.putUrl:(Ljava/lang/String;)Z
pop
4: aload 0
getfield com.sun.javafx.webkit.PasteboardImpl.clipboard:Ljavafx/scene/input/Clipboard;
aload 3
invokevirtual javafx.scene.input.Clipboard.setContent:(Ljava/util/Map;)Z
pop
5: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lcom/sun/javafx/webkit/PasteboardImpl;
0 6 1 url Ljava/lang/String;
0 6 2 markup Ljava/lang/String;
1 6 3 content Ljavafx/scene/input/ClipboardContent;
MethodParameters:
Name Flags
url
markup
}
SourceFile: "PasteboardImpl.java"
InnerClasses:
public abstract ImageAccessor = com.sun.javafx.tk.Toolkit$ImageAccessor of com.sun.javafx.tk.Toolkit