final class sun.awt.windows.WDataTransferer extends sun.awt.datatransfer.DataTransferer
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, 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<java.lang.String, java.lang.Long> predefinedClipboardNameMap;
descriptor: Ljava/util/Map;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
Signature: Ljava/util/Map<Ljava/lang/String;Ljava/lang/Long;>;
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
21: astore 0
start local 0 22: iconst_1
istore 1
start local 1 23: goto 26
24: 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
25: iinc 1 1
StackMap locals:
StackMap stack:
26: iload 1
getstatic sun.awt.windows.WDataTransferer.predefinedClipboardNames:[Ljava/lang/String;
arraylength
if_icmplt 24
end local 1 27: aload 0
invokestatic java.util.Collections.synchronizedMap:(Ljava/util/Map;)Ljava/util/Map;
28: putstatic sun.awt.windows.WDataTransferer.predefinedClipboardNameMap:Ljava/util/Map;
end local 0 29: ldc "HTML Format"
invokestatic sun.awt.windows.WDataTransferer.registerClipboardFormat:(Ljava/lang/String;)J
putstatic sun.awt.windows.WDataTransferer.CF_HTML:J
30: ldc "UniformResourceLocator"
invokestatic sun.awt.windows.WDataTransferer.registerClipboardFormat:(Ljava/lang/String;)J
putstatic sun.awt.windows.WDataTransferer.CFSTR_INETURL:J
31: ldc "PNG"
invokestatic sun.awt.windows.WDataTransferer.registerClipboardFormat:(Ljava/lang/String;)J
putstatic sun.awt.windows.WDataTransferer.CF_PNG:J
32: ldc "JFIF"
invokestatic sun.awt.windows.WDataTransferer.registerClipboardFormat:(Ljava/lang/String;)J
putstatic sun.awt.windows.WDataTransferer.CF_JFIF:J
33: ldc "FileGroupDescriptorW"
invokestatic sun.awt.windows.WDataTransferer.registerClipboardFormat:(Ljava/lang/String;)J
putstatic sun.awt.windows.WDataTransferer.CF_FILEGROUPDESCRIPTORW:J
34: ldc "FileGroupDescriptor"
invokestatic sun.awt.windows.WDataTransferer.registerClipboardFormat:(Ljava/lang/String;)J
putstatic sun.awt.windows.WDataTransferer.CF_FILEGROUPDESCRIPTORA:J
35: 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
36: putstatic sun.awt.windows.WDataTransferer.L_CF_LOCALE:Ljava/lang/Long;
37: new java.awt.image.DirectColorModel
dup
bipush 24
38: ldc 16711680
39: ldc 65280
40: sipush 255
41: invokespecial java.awt.image.DirectColorModel.<init>:(IIII)V
42: putstatic sun.awt.windows.WDataTransferer.directColorModel:Ljava/awt/image/DirectColorModel;
43: iconst_3
newarray 10
dup
iconst_0
44: getstatic sun.awt.windows.WDataTransferer.directColorModel:Ljava/awt/image/DirectColorModel;
invokevirtual java.awt.image.DirectColorModel.getRedMask:()I
iastore
dup
iconst_1
45: getstatic sun.awt.windows.WDataTransferer.directColorModel:Ljava/awt/image/DirectColorModel;
invokevirtual java.awt.image.DirectColorModel.getGreenMask:()I
iastore
dup
iconst_2
46: getstatic sun.awt.windows.WDataTransferer.directColorModel:Ljava/awt/image/DirectColorModel;
invokevirtual java.awt.image.DirectColorModel.getBlueMask:()I
iastore
47: putstatic sun.awt.windows.WDataTransferer.bandmasks:[I
48: iconst_2
newarray 8
putstatic sun.awt.windows.WDataTransferer.UNICODE_NULL_TERMINATOR:[B
return
LocalVariableTable:
Start End Slot Name Signature
22 29 0 tempMap Ljava/util/Map<Ljava/lang/String;Ljava/lang/Long;>;
23 27 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;
static synchronized sun.awt.windows.WDataTransferer getInstanceImpl();
descriptor: ()Lsun/awt/windows/WDataTransferer;
flags: (0x0028) ACC_STATIC, ACC_SYNCHRONIZED
Code:
stack=2, locals=0, args_size=0
0: getstatic sun.awt.windows.WDataTransferer.transferer:Lsun/awt/windows/WDataTransferer;
ifnonnull 2
1: new sun.awt.windows.WDataTransferer
dup
invokespecial sun.awt.windows.WDataTransferer.<init>:()V
putstatic sun.awt.windows.WDataTransferer.transferer:Lsun/awt/windows/WDataTransferer;
2: StackMap locals:
StackMap stack:
getstatic sun.awt.windows.WDataTransferer.transferer:Lsun/awt/windows/WDataTransferer;
areturn
LocalVariableTable:
Start End Slot Name Signature
public java.util.SortedMap<java.lang.Long, java.awt.datatransfer.DataFlavor> 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;
1: astore 3
start local 3 2: 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
3: aload 3
areturn
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 flavors [Ljava/awt/datatransfer/DataFlavor;
0 4 2 map Ljava/awt/datatransfer/FlavorTable;
2 4 3 retval Ljava/util/SortedMap<Ljava/lang/Long;Ljava/awt/datatransfer/DataFlavor;>;
Signature: ([Ljava/awt/datatransfer/DataFlavor;Ljava/awt/datatransfer/FlavorTable;)Ljava/util/SortedMap<Ljava/lang/Long;Ljava/awt/datatransfer/DataFlavor;>;
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: aconst_null
astore 5
start local 5 1: lload 3
getstatic sun.awt.windows.WDataTransferer.CF_HTML:J
lcmp
ifne 16
2: aload 1
getstatic java.awt.datatransfer.DataFlavor.selectionHtmlFlavor:Ljava/awt/datatransfer/DataFlavor;
invokeinterface java.awt.datatransfer.Transferable.isDataFlavorSupported:(Ljava/awt/datatransfer/DataFlavor;)Z
ifeq 8
3: aload 0
aload 1
4: getstatic java.awt.datatransfer.DataFlavor.selectionHtmlFlavor:Ljava/awt/datatransfer/DataFlavor;
5: lload 3
6: invokespecial sun.awt.datatransfer.DataTransferer.translateTransferable:(Ljava/awt/datatransfer/Transferable;Ljava/awt/datatransfer/DataFlavor;J)[B
astore 5
7: goto 17
StackMap locals: byte[]
StackMap stack:
8: aload 1
getstatic java.awt.datatransfer.DataFlavor.allHtmlFlavor:Ljava/awt/datatransfer/DataFlavor;
invokeinterface java.awt.datatransfer.Transferable.isDataFlavorSupported:(Ljava/awt/datatransfer/DataFlavor;)Z
ifeq 14
9: aload 0
aload 1
10: getstatic java.awt.datatransfer.DataFlavor.allHtmlFlavor:Ljava/awt/datatransfer/DataFlavor;
11: lload 3
12: invokespecial sun.awt.datatransfer.DataTransferer.translateTransferable:(Ljava/awt/datatransfer/Transferable;Ljava/awt/datatransfer/DataFlavor;J)[B
astore 5
13: goto 17
14: StackMap locals:
StackMap stack:
aload 0
aload 1
aload 2
lload 3
invokespecial sun.awt.datatransfer.DataTransferer.translateTransferable:(Ljava/awt/datatransfer/Transferable;Ljava/awt/datatransfer/DataFlavor;J)[B
invokestatic sun.awt.windows.HTMLCodec.convertToHTMLFormat:([B)[B
astore 5
15: goto 17
16: StackMap locals:
StackMap stack:
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
17: StackMap locals:
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 18 0 this Lsun/awt/windows/WDataTransferer;
0 18 1 contents Ljava/awt/datatransfer/Transferable;
0 18 2 flavor Ljava/awt/datatransfer/DataFlavor;
0 18 3 format J
1 18 5 bytes [B
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
contents
flavor
format
public java.lang.Object translateStream(java.io.InputStream, java.awt.datatransfer.DataFlavor, long, java.awt.datatransfer.Transferable);
descriptor: (Ljava/io/InputStream;Ljava/awt/datatransfer/DataFlavor;JLjava/awt/datatransfer/Transferable;)Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=6, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 5 0: lload 3
getstatic sun.awt.windows.WDataTransferer.CF_HTML:J
lcmp
ifne 4
aload 2
invokevirtual java.awt.datatransfer.DataFlavor.isFlavorTextType:()Z
ifeq 4
1: new sun.awt.windows.HTMLCodec
dup
aload 1
2: aload 2
invokestatic sun.awt.windows.EHTMLReadMode.getEHTMLReadMode:(Ljava/awt/datatransfer/DataFlavor;)Lsun/awt/windows/EHTMLReadMode;
3: invokespecial sun.awt.windows.HTMLCodec.<init>:(Ljava/io/InputStream;Lsun/awt/windows/EHTMLReadMode;)V
astore 1
4: StackMap locals:
StackMap stack:
aload 0
aload 1
aload 2
lload 3
5: aload 5
6: invokespecial sun.awt.datatransfer.DataTransferer.translateStream:(Ljava/io/InputStream;Ljava/awt/datatransfer/DataFlavor;JLjava/awt/datatransfer/Transferable;)Ljava/lang/Object;
areturn
end local 5 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lsun/awt/windows/WDataTransferer;
0 7 1 str Ljava/io/InputStream;
0 7 2 flavor Ljava/awt/datatransfer/DataFlavor;
0 7 3 format J
0 7 5 localeTransferable Ljava/awt/datatransfer/Transferable;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
str
flavor
format
localeTransferable
public java.lang.Object translateBytes(byte[], java.awt.datatransfer.DataFlavor, long, java.awt.datatransfer.Transferable);
descriptor: ([BLjava/awt/datatransfer/DataFlavor;JLjava/awt/datatransfer/Transferable;)Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=10, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 5 0: lload 3
getstatic sun.awt.windows.WDataTransferer.CF_FILEGROUPDESCRIPTORA:J
lcmp
ifeq 1
lload 3
getstatic sun.awt.windows.WDataTransferer.CF_FILEGROUPDESCRIPTORW:J
lcmp
ifne 15
1: StackMap locals:
StackMap stack:
aload 1
ifnull 2
getstatic java.awt.datatransfer.DataFlavor.javaFileListFlavor:Ljava/awt/datatransfer/DataFlavor;
aload 2
invokevirtual java.awt.datatransfer.DataFlavor.equals:(Ljava/awt/datatransfer/DataFlavor;)Z
ifne 3
2: StackMap locals:
StackMap stack:
new java.io.IOException
dup
ldc "data translation failed"
invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
athrow
3: StackMap locals:
StackMap stack:
new java.lang.String
dup
aload 1
iconst_0
aload 1
arraylength
ldc "UTF-16LE"
invokespecial java.lang.String.<init>:([BIILjava/lang/String;)V
astore 6
start local 6 4: aload 6
ldc "\u0000"
invokevirtual java.lang.String.split:(Ljava/lang/String;)[Ljava/lang/String;
astore 7
start local 7 5: aload 7
arraylength
ifne 7
6: aconst_null
areturn
7: StackMap locals: java.lang.String java.lang.String[]
StackMap stack:
aload 7
arraylength
anewarray java.io.File
astore 8
start local 8 8: iconst_0
istore 9
start local 9 9: goto 13
10: StackMap locals: java.io.File[] int
StackMap stack:
aload 8
iload 9
new java.io.File
dup
aload 7
iload 9
aaload
invokespecial java.io.File.<init>:(Ljava/lang/String;)V
aastore
11: aload 8
iload 9
aaload
invokevirtual java.io.File.deleteOnExit:()V
12: iinc 9 1
StackMap locals:
StackMap stack:
13: iload 9
aload 7
arraylength
if_icmplt 10
end local 9 14: aload 8
invokestatic java.util.Arrays.asList:([Ljava/lang/Object;)Ljava/util/List;
areturn
end local 8 end local 7 end local 6 15: StackMap locals: sun.awt.windows.WDataTransferer byte[] java.awt.datatransfer.DataFlavor long java.awt.datatransfer.Transferable
StackMap stack:
lload 3
getstatic sun.awt.windows.WDataTransferer.CFSTR_INETURL:J
lcmp
ifne 26
16: ldc Ljava/net/URL;
aload 2
invokevirtual java.awt.datatransfer.DataFlavor.getRepresentationClass:()Ljava/lang/Class;
invokevirtual java.lang.Object.equals:(Ljava/lang/Object;)Z
ifeq 26
17: invokestatic java.nio.charset.Charset.defaultCharset:()Ljava/nio/charset/Charset;
invokevirtual java.nio.charset.Charset.name:()Ljava/lang/String;
astore 6
start local 6 18: aload 5
ifnull 25
19: aload 5
getstatic sun.awt.windows.WDataTransferer.javaTextEncodingFlavor:Ljava/awt/datatransfer/DataFlavor;
invokeinterface java.awt.datatransfer.Transferable.isDataFlavorSupported:(Ljava/awt/datatransfer/DataFlavor;)Z
ifeq 25
20: new java.lang.String
dup
aload 5
21: 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[]
ldc "UTF-8"
22: invokespecial java.lang.String.<init>:([BLjava/lang/String;)V
astore 6
23: goto 25
StackMap locals: sun.awt.windows.WDataTransferer byte[] java.awt.datatransfer.DataFlavor long java.awt.datatransfer.Transferable java.lang.String
StackMap stack: java.awt.datatransfer.UnsupportedFlavorException
24: pop
25: StackMap locals:
StackMap stack:
new java.net.URL
dup
new java.lang.String
dup
aload 1
aload 6
invokespecial java.lang.String.<init>:([BLjava/lang/String;)V
invokespecial java.net.URL.<init>:(Ljava/lang/String;)V
areturn
end local 6 26: StackMap locals:
StackMap stack:
aload 0
aload 1
aload 2
lload 3
27: aload 5
28: invokespecial sun.awt.datatransfer.DataTransferer.translateBytes:([BLjava/awt/datatransfer/DataFlavor;JLjava/awt/datatransfer/Transferable;)Ljava/lang/Object;
areturn
end local 5 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 29 0 this Lsun/awt/windows/WDataTransferer;
0 29 1 bytes [B
0 29 2 flavor Ljava/awt/datatransfer/DataFlavor;
0 29 3 format J
0 29 5 localeTransferable Ljava/awt/datatransfer/Transferable;
4 15 6 st Ljava/lang/String;
5 15 7 filenames [Ljava/lang/String;
8 15 8 files [Ljava/io/File;
9 14 9 i I
18 26 6 charset Ljava/lang/String;
Exception table:
from to target type
20 23 24 Class java.awt.datatransfer.UnsupportedFlavorException
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
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 platformImageBytesToImage(byte[], long);
descriptor: ([BJ)Ljava/awt/Image;
flags: (0x0004) ACC_PROTECTED
Code:
stack=6, locals=11, 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.standardImageBytesToImage:([BLjava/lang/String;)Ljava/awt/Image;
areturn
8: StackMap locals:
StackMap stack:
aload 0
aload 1
lload 2
invokevirtual sun.awt.windows.WDataTransferer.platformImageBytesToImageData:([BJ)[I
astore 5
start local 5 9: aload 5
ifnonnull 11
10: new java.io.IOException
dup
ldc "data translation failed"
invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
athrow
11: StackMap locals: int[]
StackMap stack:
aload 5
arraylength
iconst_2
isub
istore 6
start local 6 12: aload 5
iload 6
iaload
istore 7
start local 7 13: aload 5
iload 6
iconst_1
iadd
iaload
istore 8
start local 8 14: new java.awt.image.DataBufferInt
dup
aload 5
iload 6
invokespecial java.awt.image.DataBufferInt.<init>:([II)V
astore 9
start local 9 15: aload 9
iload 7
16: iload 8
iload 7
17: getstatic sun.awt.windows.WDataTransferer.bandmasks:[I
aconst_null
18: invokestatic java.awt.image.Raster.createPackedRaster:(Ljava/awt/image/DataBuffer;III[ILjava/awt/Point;)Ljava/awt/image/WritableRaster;
astore 10
start local 10 19: new java.awt.image.BufferedImage
dup
getstatic sun.awt.windows.WDataTransferer.directColorModel:Ljava/awt/image/DirectColorModel;
aload 10
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 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 20 0 this Lsun/awt/windows/WDataTransferer;
0 20 1 bytes [B
0 20 2 format J
1 20 4 mimeType Ljava/lang/String;
9 20 5 imageData [I
12 20 6 len I
13 20 7 width I
14 20 8 height I
15 20 9 buffer Ljava/awt/image/DataBufferInt;
19 20 10 raster Ljava/awt/image/WritableRaster;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
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"