public class sun.awt.windows.WDataTransferer extends sun.awt.datatransfer.DataTransferer
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: sun.awt.windows.WDataTransferer
super_class: sun.awt.datatransfer.DataTransferer
{
private static final java.lang.String[] predefinedClipboardNames;
descriptor: [Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final java.util.Map predefinedClipboardNameMap;
descriptor: Ljava/util/Map;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
public static final int CF_TEXT;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 1
public static final int CF_METAFILEPICT;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 3
public static final int CF_DIB;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 8
public static final int CF_ENHMETAFILE;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 14
public static final int CF_HDROP;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 15
public static final int CF_LOCALE;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 16
public static final long CF_HTML;
descriptor: J
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
public static final long CFSTR_INETURL;
descriptor: J
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
public static final long CF_PNG;
descriptor: J
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
public static final long CF_JFIF;
descriptor: J
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
public static final long CF_FILEGROUPDESCRIPTORW;
descriptor: J
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
public static final long CF_FILEGROUPDESCRIPTORA;
descriptor: J
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
private static final java.lang.Long L_CF_LOCALE;
descriptor: Ljava/lang/Long;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final java.awt.image.DirectColorModel directColorModel;
descriptor: Ljava/awt/image/DirectColorModel;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final int[] bandmasks;
descriptor: [I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static sun.awt.windows.WDataTransferer transferer;
descriptor: Lsun/awt/windows/WDataTransferer;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
private final sun.awt.datatransfer.ToolkitThreadBlockedHandler handler;
descriptor: Lsun/awt/datatransfer/ToolkitThreadBlockedHandler;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private static final byte[] UNICODE_NULL_TERMINATOR;
descriptor: [B
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=6, locals=2, args_size=0
0: bipush 18
anewarray java.lang.String
dup
iconst_0
1: ldc ""
aastore
dup
iconst_1
2: ldc "TEXT"
aastore
dup
iconst_2
3: ldc "BITMAP"
aastore
dup
iconst_3
4: ldc "METAFILEPICT"
aastore
dup
iconst_4
5: ldc "SYLK"
aastore
dup
iconst_5
6: ldc "DIF"
aastore
dup
bipush 6
7: ldc "TIFF"
aastore
dup
bipush 7
8: ldc "OEM TEXT"
aastore
dup
bipush 8
9: ldc "DIB"
aastore
dup
bipush 9
10: ldc "PALETTE"
aastore
dup
bipush 10
11: ldc "PENDATA"
aastore
dup
bipush 11
12: ldc "RIFF"
aastore
dup
bipush 12
13: ldc "WAVE"
aastore
dup
bipush 13
14: ldc "UNICODE TEXT"
aastore
dup
bipush 14
15: ldc "ENHMETAFILE"
aastore
dup
bipush 15
16: ldc "HDROP"
aastore
dup
bipush 16
17: ldc "LOCALE"
aastore
dup
bipush 17
18: ldc "DIBV5"
aastore
19: putstatic sun.awt.windows.WDataTransferer.predefinedClipboardNames:[Ljava/lang/String;
20: new java.util.HashMap
dup
getstatic sun.awt.windows.WDataTransferer.predefinedClipboardNames:[Ljava/lang/String;
arraylength
fconst_1
invokespecial java.util.HashMap.<init>:(IF)V
astore 0
start local 0 21: iconst_1
istore 1
start local 1 22: goto 25
23: StackMap locals: java.util.Map int
StackMap stack:
aload 0
getstatic sun.awt.windows.WDataTransferer.predefinedClipboardNames:[Ljava/lang/String;
iload 1
aaload
iload 1
i2l
invokestatic java.lang.Long.valueOf:(J)Ljava/lang/Long;
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
24: iinc 1 1
StackMap locals:
StackMap stack:
25: iload 1
getstatic sun.awt.windows.WDataTransferer.predefinedClipboardNames:[Ljava/lang/String;
arraylength
if_icmplt 23
end local 1 26: aload 0
invokestatic java.util.Collections.synchronizedMap:(Ljava/util/Map;)Ljava/util/Map;
putstatic sun.awt.windows.WDataTransferer.predefinedClipboardNameMap:Ljava/util/Map;
end local 0 27: ldc "HTML Format"
invokestatic sun.awt.windows.WDataTransferer.registerClipboardFormat:(Ljava/lang/String;)J
putstatic sun.awt.windows.WDataTransferer.CF_HTML:J
28: ldc "UniformResourceLocator"
invokestatic sun.awt.windows.WDataTransferer.registerClipboardFormat:(Ljava/lang/String;)J
putstatic sun.awt.windows.WDataTransferer.CFSTR_INETURL:J
29: ldc "PNG"
invokestatic sun.awt.windows.WDataTransferer.registerClipboardFormat:(Ljava/lang/String;)J
putstatic sun.awt.windows.WDataTransferer.CF_PNG:J
30: ldc "JFIF"
invokestatic sun.awt.windows.WDataTransferer.registerClipboardFormat:(Ljava/lang/String;)J
putstatic sun.awt.windows.WDataTransferer.CF_JFIF:J
31: ldc "FileGroupDescriptorW"
invokestatic sun.awt.windows.WDataTransferer.registerClipboardFormat:(Ljava/lang/String;)J
putstatic sun.awt.windows.WDataTransferer.CF_FILEGROUPDESCRIPTORW:J
32: ldc "FileGroupDescriptor"
invokestatic sun.awt.windows.WDataTransferer.registerClipboardFormat:(Ljava/lang/String;)J
putstatic sun.awt.windows.WDataTransferer.CF_FILEGROUPDESCRIPTORA:J
33: getstatic sun.awt.windows.WDataTransferer.predefinedClipboardNameMap:Ljava/util/Map;
getstatic sun.awt.windows.WDataTransferer.predefinedClipboardNames:[Ljava/lang/String;
bipush 16
aaload
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.lang.Long
34: putstatic sun.awt.windows.WDataTransferer.L_CF_LOCALE:Ljava/lang/Long;
35: new java.awt.image.DirectColorModel
dup
bipush 24
36: ldc 16711680
37: ldc 65280
38: sipush 255
39: invokespecial java.awt.image.DirectColorModel.<init>:(IIII)V
40: putstatic sun.awt.windows.WDataTransferer.directColorModel:Ljava/awt/image/DirectColorModel;
41: iconst_3
newarray 10
dup
iconst_0
42: getstatic sun.awt.windows.WDataTransferer.directColorModel:Ljava/awt/image/DirectColorModel;
invokevirtual java.awt.image.DirectColorModel.getRedMask:()I
iastore
dup
iconst_1
43: getstatic sun.awt.windows.WDataTransferer.directColorModel:Ljava/awt/image/DirectColorModel;
invokevirtual java.awt.image.DirectColorModel.getGreenMask:()I
iastore
dup
iconst_2
44: getstatic sun.awt.windows.WDataTransferer.directColorModel:Ljava/awt/image/DirectColorModel;
invokevirtual java.awt.image.DirectColorModel.getBlueMask:()I
iastore
45: putstatic sun.awt.windows.WDataTransferer.bandmasks:[I
46: iconst_2
newarray 8
putstatic sun.awt.windows.WDataTransferer.UNICODE_NULL_TERMINATOR:[B
return
LocalVariableTable:
Start End Slot Name Signature
21 27 0 tempMap Ljava/util/Map;
22 26 1 i I
private void <init>();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
invokespecial sun.awt.datatransfer.DataTransferer.<init>:()V
1: aload 0
2: new sun.awt.windows.WToolkitThreadBlockedHandler
dup
invokespecial sun.awt.windows.WToolkitThreadBlockedHandler.<init>:()V
putfield sun.awt.windows.WDataTransferer.handler:Lsun/awt/datatransfer/ToolkitThreadBlockedHandler;
3: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lsun/awt/windows/WDataTransferer;
public static sun.awt.windows.WDataTransferer getInstanceImpl();
descriptor: ()Lsun/awt/windows/WDataTransferer;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=1, args_size=0
0: getstatic sun.awt.windows.WDataTransferer.transferer:Lsun/awt/windows/WDataTransferer;
ifnonnull 8
1: ldc Lsun/awt/windows/WDataTransferer;
dup
astore 0
monitorenter
2: getstatic sun.awt.windows.WDataTransferer.transferer:Lsun/awt/windows/WDataTransferer;
ifnonnull 4
3: new sun.awt.windows.WDataTransferer
dup
invokespecial sun.awt.windows.WDataTransferer.<init>:()V
putstatic sun.awt.windows.WDataTransferer.transferer:Lsun/awt/windows/WDataTransferer;
4: StackMap locals: java.lang.Class
StackMap stack:
aload 0
monitorexit
5: goto 8
StackMap locals:
StackMap stack: java.lang.Throwable
6: aload 0
monitorexit
7: athrow
8: StackMap locals:
StackMap stack:
getstatic sun.awt.windows.WDataTransferer.transferer:Lsun/awt/windows/WDataTransferer;
areturn
LocalVariableTable:
Start End Slot Name Signature
Exception table:
from to target type
2 5 6 any
6 7 6 any
public java.util.SortedMap getFormatsForFlavors(java.awt.datatransfer.DataFlavor[], java.awt.datatransfer.FlavorTable);
descriptor: ([Ljava/awt/datatransfer/DataFlavor;Ljava/awt/datatransfer/FlavorTable;)Ljava/util/SortedMap;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
aload 2
invokespecial sun.awt.datatransfer.DataTransferer.getFormatsForFlavors:([Ljava/awt/datatransfer/DataFlavor;Ljava/awt/datatransfer/FlavorTable;)Ljava/util/SortedMap;
astore 3
start local 3 1: aload 3
getstatic sun.awt.windows.WDataTransferer.L_CF_LOCALE:Ljava/lang/Long;
invokeinterface java.util.SortedMap.remove:(Ljava/lang/Object;)Ljava/lang/Object;
pop
2: aload 3
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lsun/awt/windows/WDataTransferer;
0 3 1 flavors [Ljava/awt/datatransfer/DataFlavor;
0 3 2 map Ljava/awt/datatransfer/FlavorTable;
1 3 3 retval Ljava/util/SortedMap;
MethodParameters:
Name Flags
flavors
map
public java.lang.String getDefaultUnicodeEncoding();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: ldc "utf-16le"
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/awt/windows/WDataTransferer;
public byte[] translateTransferable(java.awt.datatransfer.Transferable, java.awt.datatransfer.DataFlavor, long);
descriptor: (Ljava/awt/datatransfer/Transferable;Ljava/awt/datatransfer/DataFlavor;J)[B
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=6, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
aload 1
aload 2
lload 3
invokespecial sun.awt.datatransfer.DataTransferer.translateTransferable:(Ljava/awt/datatransfer/Transferable;Ljava/awt/datatransfer/DataFlavor;J)[B
astore 5
start local 5 1: lload 3
getstatic sun.awt.windows.WDataTransferer.CF_HTML:J
lcmp
ifne 3
2: aload 5
invokestatic sun.awt.windows.HTMLCodec.convertToHTMLFormat:([B)[B
astore 5
3: StackMap locals: byte[]
StackMap stack:
aload 5
areturn
end local 5 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lsun/awt/windows/WDataTransferer;
0 4 1 contents Ljava/awt/datatransfer/Transferable;
0 4 2 flavor Ljava/awt/datatransfer/DataFlavor;
0 4 3 format J
1 4 5 bytes [B
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
contents
flavor
format
protected java.lang.Object translateBytesOrStream(java.io.InputStream, byte[], java.awt.datatransfer.DataFlavor, long, java.awt.datatransfer.Transferable);
descriptor: (Ljava/io/InputStream;[BLjava/awt/datatransfer/DataFlavor;JLjava/awt/datatransfer/Transferable;)Ljava/lang/Object;
flags: (0x0004) ACC_PROTECTED
Code:
stack=7, locals=11, args_size=6
start local 0 start local 1 start local 2 start local 3 start local 4 start local 6 0: lload 4
getstatic sun.awt.windows.WDataTransferer.CF_HTML:J
lcmp
ifne 5
aload 3
invokevirtual java.awt.datatransfer.DataFlavor.isFlavorTextType:()Z
ifeq 5
1: aload 1
ifnonnull 4
2: new java.io.ByteArrayInputStream
dup
aload 2
invokespecial java.io.ByteArrayInputStream.<init>:([B)V
astore 1
3: aconst_null
astore 2
4: StackMap locals:
StackMap stack:
new sun.awt.windows.HTMLCodec
dup
aload 1
getstatic sun.awt.windows.EHTMLReadMode.HTML_READ_ALL:Lsun/awt/windows/EHTMLReadMode;
invokespecial sun.awt.windows.HTMLCodec.<init>:(Ljava/io/InputStream;Lsun/awt/windows/EHTMLReadMode;)V
astore 1
5: StackMap locals:
StackMap stack:
lload 4
getstatic sun.awt.windows.WDataTransferer.CF_FILEGROUPDESCRIPTORA:J
lcmp
ifeq 6
lload 4
getstatic sun.awt.windows.WDataTransferer.CF_FILEGROUPDESCRIPTORW:J
lcmp
ifne 22
6: StackMap locals:
StackMap stack:
aload 1
ifnull 8
7: aload 1
invokevirtual java.io.InputStream.close:()V
8: StackMap locals:
StackMap stack:
aload 2
ifnull 9
getstatic java.awt.datatransfer.DataFlavor.javaFileListFlavor:Ljava/awt/datatransfer/DataFlavor;
aload 3
invokevirtual java.awt.datatransfer.DataFlavor.equals:(Ljava/awt/datatransfer/DataFlavor;)Z
ifne 10
9: StackMap locals:
StackMap stack:
new java.io.IOException
dup
ldc "data translation failed"
invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
athrow
10: StackMap locals:
StackMap stack:
new java.lang.String
dup
aload 2
iconst_0
aload 2
arraylength
ldc "UTF-16LE"
invokespecial java.lang.String.<init>:([BIILjava/lang/String;)V
astore 7
start local 7 11: aload 7
ldc "\u0000"
invokevirtual java.lang.String.split:(Ljava/lang/String;)[Ljava/lang/String;
astore 8
start local 8 12: aload 8
arraylength
ifne 14
13: aconst_null
areturn
14: StackMap locals: java.lang.String java.lang.String[]
StackMap stack:
aload 8
arraylength
anewarray java.io.File
astore 9
start local 9 15: iconst_0
istore 10
start local 10 16: goto 20
17: StackMap locals: java.io.File[] int
StackMap stack:
aload 9
iload 10
new java.io.File
dup
aload 8
iload 10
aaload
invokespecial java.io.File.<init>:(Ljava/lang/String;)V
aastore
18: aload 9
iload 10
aaload
invokevirtual java.io.File.deleteOnExit:()V
19: iinc 10 1
StackMap locals:
StackMap stack:
20: iload 10
aload 8
arraylength
if_icmplt 17
end local 10 21: aload 9
invokestatic java.util.Arrays.asList:([Ljava/lang/Object;)Ljava/util/List;
areturn
end local 9 end local 8 end local 7 22: StackMap locals: sun.awt.windows.WDataTransferer java.io.InputStream byte[] java.awt.datatransfer.DataFlavor long java.awt.datatransfer.Transferable
StackMap stack:
lload 4
getstatic sun.awt.windows.WDataTransferer.CFSTR_INETURL:J
lcmp
ifne 37
23: ldc Ljava/net/URL;
aload 3
invokevirtual java.awt.datatransfer.DataFlavor.getRepresentationClass:()Ljava/lang/Class;
invokevirtual java.lang.Object.equals:(Ljava/lang/Object;)Z
ifeq 37
24: aload 2
ifnonnull 27
25: aload 1
invokestatic sun.awt.windows.WDataTransferer.inputStreamToByteArray:(Ljava/io/InputStream;)[B
astore 2
26: aconst_null
astore 1
27: StackMap locals:
StackMap stack:
invokestatic sun.awt.windows.WDataTransferer.getDefaultTextCharset:()Ljava/lang/String;
astore 7
start local 7 28: aload 6
ifnull 36
aload 6
29: getstatic sun.awt.windows.WDataTransferer.javaTextEncodingFlavor:Ljava/awt/datatransfer/DataFlavor;
invokeinterface java.awt.datatransfer.Transferable.isDataFlavorSupported:(Ljava/awt/datatransfer/DataFlavor;)Z
ifeq 36
30: new java.lang.String
dup
aload 6
31: getstatic sun.awt.windows.WDataTransferer.javaTextEncodingFlavor:Ljava/awt/datatransfer/DataFlavor;
invokeinterface java.awt.datatransfer.Transferable.getTransferData:(Ljava/awt/datatransfer/DataFlavor;)Ljava/lang/Object;
checkcast byte[]
32: ldc "UTF-8"
33: invokespecial java.lang.String.<init>:([BLjava/lang/String;)V
astore 7
34: goto 36
StackMap locals: sun.awt.windows.WDataTransferer java.io.InputStream byte[] java.awt.datatransfer.DataFlavor long java.awt.datatransfer.Transferable java.lang.String
StackMap stack: java.awt.datatransfer.UnsupportedFlavorException
35: pop
36: StackMap locals:
StackMap stack:
new java.net.URL
dup
new java.lang.String
dup
aload 2
aload 7
invokespecial java.lang.String.<init>:([BLjava/lang/String;)V
invokespecial java.net.URL.<init>:(Ljava/lang/String;)V
areturn
end local 7 37: StackMap locals:
StackMap stack:
aload 0
aload 1
aload 2
aload 3
lload 4
38: aload 6
39: invokespecial sun.awt.datatransfer.DataTransferer.translateBytesOrStream:(Ljava/io/InputStream;[BLjava/awt/datatransfer/DataFlavor;JLjava/awt/datatransfer/Transferable;)Ljava/lang/Object;
areturn
end local 6 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 40 0 this Lsun/awt/windows/WDataTransferer;
0 40 1 str Ljava/io/InputStream;
0 40 2 bytes [B
0 40 3 flavor Ljava/awt/datatransfer/DataFlavor;
0 40 4 format J
0 40 6 localeTransferable Ljava/awt/datatransfer/Transferable;
11 22 7 st Ljava/lang/String;
12 22 8 filenames [Ljava/lang/String;
15 22 9 files [Ljava/io/File;
16 21 10 i I
28 37 7 charset Ljava/lang/String;
Exception table:
from to target type
30 34 35 Class java.awt.datatransfer.UnsupportedFlavorException
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
str
bytes
flavor
format
localeTransferable
public boolean isLocaleDependentTextFormat(long);
descriptor: (J)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=2
start local 0 start local 1 0: lload 1
lconst_1
lcmp
ifeq 1
lload 1
getstatic sun.awt.windows.WDataTransferer.CFSTR_INETURL:J
lcmp
ifeq 1
iconst_0
ireturn
StackMap locals:
StackMap stack:
1: iconst_1
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/awt/windows/WDataTransferer;
0 2 1 format J
MethodParameters:
Name Flags
format
public boolean isFileFormat(long);
descriptor: (J)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=2
start local 0 start local 1 0: lload 1
ldc 15
lcmp
ifeq 1
lload 1
getstatic sun.awt.windows.WDataTransferer.CF_FILEGROUPDESCRIPTORA:J
lcmp
ifeq 1
lload 1
getstatic sun.awt.windows.WDataTransferer.CF_FILEGROUPDESCRIPTORW:J
lcmp
ifeq 1
iconst_0
ireturn
StackMap locals:
StackMap stack:
1: iconst_1
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/awt/windows/WDataTransferer;
0 2 1 format J
MethodParameters:
Name Flags
format
protected java.lang.Long getFormatForNativeAsLong(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/Long;
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: getstatic sun.awt.windows.WDataTransferer.predefinedClipboardNameMap:Ljava/util/Map;
aload 1
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.lang.Long
astore 2
start local 2 1: aload 2
ifnonnull 3
2: aload 1
invokestatic sun.awt.windows.WDataTransferer.registerClipboardFormat:(Ljava/lang/String;)J
invokestatic java.lang.Long.valueOf:(J)Ljava/lang/Long;
astore 2
3: StackMap locals: java.lang.Long
StackMap stack:
aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lsun/awt/windows/WDataTransferer;
0 4 1 str Ljava/lang/String;
1 4 2 format Ljava/lang/Long;
MethodParameters:
Name Flags
str
protected java.lang.String getNativeForFormat(long);
descriptor: (J)Ljava/lang/String;
flags: (0x0004) ACC_PROTECTED
Code:
stack=4, locals=3, args_size=2
start local 0 start local 1 0: lload 1
getstatic sun.awt.windows.WDataTransferer.predefinedClipboardNames:[Ljava/lang/String;
arraylength
i2l
lcmp
ifge 2
1: getstatic sun.awt.windows.WDataTransferer.predefinedClipboardNames:[Ljava/lang/String;
lload 1
l2i
aaload
goto 3
2: StackMap locals:
StackMap stack:
lload 1
invokestatic sun.awt.windows.WDataTransferer.getClipboardFormatName:(J)Ljava/lang/String;
3: StackMap locals:
StackMap stack: java.lang.String
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lsun/awt/windows/WDataTransferer;
0 4 1 format J
MethodParameters:
Name Flags
format
public sun.awt.datatransfer.ToolkitThreadBlockedHandler getToolkitThreadBlockedHandler();
descriptor: ()Lsun/awt/datatransfer/ToolkitThreadBlockedHandler;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.awt.windows.WDataTransferer.handler:Lsun/awt/datatransfer/ToolkitThreadBlockedHandler;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/awt/windows/WDataTransferer;
private static native long registerClipboardFormat(java.lang.String);
descriptor: (Ljava/lang/String;)J
flags: (0x010a) ACC_PRIVATE, ACC_STATIC, ACC_NATIVE
MethodParameters:
Name Flags
str
private static native java.lang.String getClipboardFormatName(long);
descriptor: (J)Ljava/lang/String;
flags: (0x010a) ACC_PRIVATE, ACC_STATIC, ACC_NATIVE
MethodParameters:
Name Flags
format
public boolean isImageFormat(long);
descriptor: (J)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=2
start local 0 start local 1 0: lload 1
ldc 8
lcmp
ifeq 4
lload 1
ldc 14
lcmp
ifeq 4
1: lload 1
ldc 3
lcmp
ifeq 4
lload 1
getstatic sun.awt.windows.WDataTransferer.CF_PNG:J
lcmp
ifeq 4
2: lload 1
getstatic sun.awt.windows.WDataTransferer.CF_JFIF:J
lcmp
ifeq 4
3: iconst_0
ireturn
StackMap locals:
StackMap stack:
4: iconst_1
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lsun/awt/windows/WDataTransferer;
0 5 1 format J
MethodParameters:
Name Flags
format
protected byte[] imageToPlatformBytes(java.awt.Image, long);
descriptor: (Ljava/awt/Image;J)[B
flags: (0x0004) ACC_PROTECTED
Code:
stack=8, locals=19, args_size=3
start local 0 start local 1 start local 2 0: aconst_null
astore 4
start local 4 1: lload 2
getstatic sun.awt.windows.WDataTransferer.CF_PNG:J
lcmp
ifne 4
2: ldc "image/png"
astore 4
3: goto 6
StackMap locals: java.lang.String
StackMap stack:
4: lload 2
getstatic sun.awt.windows.WDataTransferer.CF_JFIF:J
lcmp
ifne 6
5: ldc "image/jpeg"
astore 4
6: StackMap locals:
StackMap stack:
aload 4
ifnull 8
7: aload 0
aload 1
aload 4
invokevirtual sun.awt.windows.WDataTransferer.imageToStandardBytes:(Ljava/awt/Image;Ljava/lang/String;)[B
areturn
8: StackMap locals:
StackMap stack:
iconst_0
istore 5
start local 5 9: iconst_0
istore 6
start local 6 10: aload 1
instanceof sun.awt.image.ToolkitImage
ifeq 16
11: aload 1
checkcast sun.awt.image.ToolkitImage
invokevirtual sun.awt.image.ToolkitImage.getImageRep:()Lsun/awt/image/ImageRepresentation;
astore 7
start local 7 12: aload 7
bipush 32
invokevirtual sun.awt.image.ImageRepresentation.reconstruct:(I)V
13: aload 7
invokevirtual sun.awt.image.ImageRepresentation.getWidth:()I
istore 5
14: aload 7
invokevirtual sun.awt.image.ImageRepresentation.getHeight:()I
istore 6
end local 7 15: goto 18
16: StackMap locals: int int
StackMap stack:
aload 1
aconst_null
invokevirtual java.awt.Image.getWidth:(Ljava/awt/image/ImageObserver;)I
istore 5
17: aload 1
aconst_null
invokevirtual java.awt.Image.getHeight:(Ljava/awt/image/ImageObserver;)I
istore 6
18: StackMap locals:
StackMap stack:
iload 5
iconst_3
imul
iconst_4
irem
istore 7
start local 7 19: iload 7
ifle 20
iconst_4
iload 7
isub
goto 21
StackMap locals: int
StackMap stack:
20: iconst_0
StackMap locals:
StackMap stack: int
21: istore 8
start local 8 22: sipush 1000
invokestatic java.awt.color.ColorSpace.getInstance:(I)Ljava/awt/color/ColorSpace;
astore 9
start local 9 23: iconst_3
newarray 10
dup
iconst_0
bipush 8
iastore
dup
iconst_1
bipush 8
iastore
dup
iconst_2
bipush 8
iastore
astore 10
start local 10 24: iconst_3
newarray 10
dup
iconst_0
iconst_2
iastore
dup
iconst_1
iconst_1
iastore
astore 11
start local 11 25: new java.awt.image.ComponentColorModel
dup
aload 9
aload 10
iconst_0
iconst_0
26: iconst_1
iconst_0
27: invokespecial java.awt.image.ComponentColorModel.<init>:(Ljava/awt/color/ColorSpace;[IZZII)V
28: astore 12
start local 12 29: iconst_0
iload 5
iload 6
30: iload 5
iconst_3
imul
iload 8
iadd
iconst_3
aload 11
aconst_null
31: invokestatic java.awt.image.Raster.createInterleavedRaster:(IIIII[ILjava/awt/Point;)Ljava/awt/image/WritableRaster;
32: astore 13
start local 13 33: new java.awt.image.BufferedImage
dup
aload 12
aload 13
iconst_0
aconst_null
invokespecial java.awt.image.BufferedImage.<init>:(Ljava/awt/image/ColorModel;Ljava/awt/image/WritableRaster;ZLjava/util/Hashtable;)V
astore 14
start local 14 34: new java.awt.geom.AffineTransform
dup
fconst_1
fconst_0
fconst_0
ldc -1.0
fconst_0
iload 6
i2f
invokespecial java.awt.geom.AffineTransform.<init>:(FFFFFF)V
35: astore 15
start local 15 36: aload 14
invokevirtual java.awt.image.BufferedImage.createGraphics:()Ljava/awt/Graphics2D;
astore 16
start local 16 37: aload 16
aload 1
aload 15
aconst_null
invokevirtual java.awt.Graphics2D.drawImage:(Ljava/awt/Image;Ljava/awt/geom/AffineTransform;Ljava/awt/image/ImageObserver;)Z
pop
38: goto 42
StackMap locals: sun.awt.windows.WDataTransferer java.awt.Image long java.lang.String int int int int java.awt.color.ColorSpace int[] int[] java.awt.image.ColorModel java.awt.image.WritableRaster java.awt.image.BufferedImage java.awt.geom.AffineTransform java.awt.Graphics2D
StackMap stack: java.lang.Throwable
39: astore 17
40: aload 16
invokevirtual java.awt.Graphics2D.dispose:()V
41: aload 17
athrow
42: StackMap locals:
StackMap stack:
aload 16
invokevirtual java.awt.Graphics2D.dispose:()V
43: aload 13
invokevirtual java.awt.image.WritableRaster.getDataBuffer:()Ljava/awt/image/DataBuffer;
checkcast java.awt.image.DataBufferByte
astore 17
start local 17 44: aload 17
invokevirtual java.awt.image.DataBufferByte.getData:()[B
astore 18
start local 18 45: aload 0
aload 18
iload 5
iload 6
lload 2
invokevirtual sun.awt.windows.WDataTransferer.imageDataToPlatformImageBytes:([BIIJ)[B
areturn
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 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 46 0 this Lsun/awt/windows/WDataTransferer;
0 46 1 image Ljava/awt/Image;
0 46 2 format J
1 46 4 mimeType Ljava/lang/String;
9 46 5 width I
10 46 6 height I
12 15 7 ir Lsun/awt/image/ImageRepresentation;
19 46 7 mod I
22 46 8 pad I
23 46 9 cs Ljava/awt/color/ColorSpace;
24 46 10 nBits [I
25 46 11 bOffs [I
29 46 12 colorModel Ljava/awt/image/ColorModel;
33 46 13 raster Ljava/awt/image/WritableRaster;
34 46 14 bimage Ljava/awt/image/BufferedImage;
36 46 15 imageFlipTransform Ljava/awt/geom/AffineTransform;
37 46 16 g2d Ljava/awt/Graphics2D;
44 46 17 buffer Ljava/awt/image/DataBufferByte;
45 46 18 imageData [B
Exception table:
from to target type
37 39 39 any
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
image
format
protected java.io.ByteArrayOutputStream convertFileListToBytes(java.util.ArrayList<java.lang.String>);
descriptor: (Ljava/util/ArrayList;)Ljava/io/ByteArrayOutputStream;
flags: (0x0004) ACC_PROTECTED
Code:
stack=4, locals=5, args_size=2
start local 0 start local 1 0: new java.io.ByteArrayOutputStream
dup
invokespecial java.io.ByteArrayOutputStream.<init>:()V
astore 2
start local 2 1: aload 1
invokevirtual java.util.ArrayList.isEmpty:()Z
ifeq 4
2: aload 2
getstatic sun.awt.windows.WDataTransferer.UNICODE_NULL_TERMINATOR:[B
invokevirtual java.io.ByteArrayOutputStream.write:([B)V
3: goto 11
4: StackMap locals: java.io.ByteArrayOutputStream
StackMap stack:
iconst_0
istore 3
start local 3 5: goto 10
6: StackMap locals: int
StackMap stack:
aload 1
iload 3
invokevirtual java.util.ArrayList.get:(I)Ljava/lang/Object;
checkcast java.lang.String
aload 0
invokevirtual sun.awt.windows.WDataTransferer.getDefaultUnicodeEncoding:()Ljava/lang/String;
invokevirtual java.lang.String.getBytes:(Ljava/lang/String;)[B
astore 4
start local 4 7: aload 2
aload 4
iconst_0
aload 4
arraylength
invokevirtual java.io.ByteArrayOutputStream.write:([BII)V
8: aload 2
getstatic sun.awt.windows.WDataTransferer.UNICODE_NULL_TERMINATOR:[B
invokevirtual java.io.ByteArrayOutputStream.write:([B)V
end local 4 9: iinc 3 1
StackMap locals:
StackMap stack:
10: iload 3
aload 1
invokevirtual java.util.ArrayList.size:()I
if_icmplt 6
end local 3 11: StackMap locals:
StackMap stack:
aload 2
getstatic sun.awt.windows.WDataTransferer.UNICODE_NULL_TERMINATOR:[B
invokevirtual java.io.ByteArrayOutputStream.write:([B)V
12: aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Lsun/awt/windows/WDataTransferer;
0 13 1 fileList Ljava/util/ArrayList<Ljava/lang/String;>;
1 13 2 bos Ljava/io/ByteArrayOutputStream;
5 11 3 i I
7 9 4 bytes [B
Exceptions:
throws java.io.IOException
Signature: (Ljava/util/ArrayList<Ljava/lang/String;>;)Ljava/io/ByteArrayOutputStream;
MethodParameters:
Name Flags
fileList
private native byte[] imageDataToPlatformImageBytes(byte[], int, int, long);
descriptor: ([BIIJ)[B
flags: (0x0102) ACC_PRIVATE, ACC_NATIVE
MethodParameters:
Name Flags
imageData
width
height
format
protected java.awt.Image platformImageBytesOrStreamToImage(java.io.InputStream, byte[], long);
descriptor: (Ljava/io/InputStream;[BJ)Ljava/awt/Image;
flags: (0x0004) ACC_PROTECTED
Code:
stack=6, locals=12, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aconst_null
astore 5
start local 5 1: lload 3
getstatic sun.awt.windows.WDataTransferer.CF_PNG:J
lcmp
ifne 4
2: ldc "image/png"
astore 5
3: goto 6
StackMap locals: java.lang.String
StackMap stack:
4: lload 3
getstatic sun.awt.windows.WDataTransferer.CF_JFIF:J
lcmp
ifne 6
5: ldc "image/jpeg"
astore 5
6: StackMap locals:
StackMap stack:
aload 5
ifnull 8
7: aload 0
aload 1
aload 2
aload 5
invokevirtual sun.awt.windows.WDataTransferer.standardImageBytesOrStreamToImage:(Ljava/io/InputStream;[BLjava/lang/String;)Ljava/awt/Image;
areturn
8: StackMap locals:
StackMap stack:
aload 2
ifnonnull 10
9: aload 1
invokestatic sun.awt.windows.WDataTransferer.inputStreamToByteArray:(Ljava/io/InputStream;)[B
astore 2
10: StackMap locals:
StackMap stack:
aload 0
aload 2
lload 3
invokevirtual sun.awt.windows.WDataTransferer.platformImageBytesToImageData:([BJ)[I
astore 6
start local 6 11: aload 6
ifnonnull 13
12: new java.io.IOException
dup
ldc "data translation failed"
invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
athrow
13: StackMap locals: int[]
StackMap stack:
aload 6
arraylength
iconst_2
isub
istore 7
start local 7 14: aload 6
iload 7
iaload
istore 8
start local 8 15: aload 6
iload 7
iconst_1
iadd
iaload
istore 9
start local 9 16: new java.awt.image.DataBufferInt
dup
aload 6
iload 7
invokespecial java.awt.image.DataBufferInt.<init>:([II)V
astore 10
start local 10 17: aload 10
iload 8
18: iload 9
iload 8
19: getstatic sun.awt.windows.WDataTransferer.bandmasks:[I
aconst_null
20: invokestatic java.awt.image.Raster.createPackedRaster:(Ljava/awt/image/DataBuffer;III[ILjava/awt/Point;)Ljava/awt/image/WritableRaster;
astore 11
start local 11 21: new java.awt.image.BufferedImage
dup
getstatic sun.awt.windows.WDataTransferer.directColorModel:Ljava/awt/image/DirectColorModel;
aload 11
iconst_0
aconst_null
invokespecial java.awt.image.BufferedImage.<init>:(Ljava/awt/image/ColorModel;Ljava/awt/image/WritableRaster;ZLjava/util/Hashtable;)V
areturn
end local 11 end local 10 end local 9 end local 8 end local 7 end local 6 end local 5 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 22 0 this Lsun/awt/windows/WDataTransferer;
0 22 1 str Ljava/io/InputStream;
0 22 2 bytes [B
0 22 3 format J
1 22 5 mimeType Ljava/lang/String;
11 22 6 imageData [I
14 22 7 len I
15 22 8 width I
16 22 9 height I
17 22 10 buffer Ljava/awt/image/DataBufferInt;
21 22 11 raster Ljava/awt/image/WritableRaster;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
str
bytes
format
private native int[] platformImageBytesToImageData(byte[], long);
descriptor: ([BJ)[I
flags: (0x0102) ACC_PRIVATE, ACC_NATIVE
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
bytes
format
protected native java.lang.String[] dragQueryFile(byte[]);
descriptor: ([B)[Ljava/lang/String;
flags: (0x0104) ACC_PROTECTED, ACC_NATIVE
MethodParameters:
Name Flags
bytes
}
SourceFile: "WDataTransferer.java"