public class sun.datatransfer.DataFlavorUtil
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: sun.datatransfer.DataFlavorUtil
super_class: java.lang.Object
{
private static final java.util.Map<java.lang.String, java.lang.Boolean> textMIMESubtypeCharsetSupport;
descriptor: Ljava/util/Map;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
Signature: Ljava/util/Map<Ljava/lang/String;Ljava/lang/Boolean;>;
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=3, locals=1, args_size=0
0: new java.util.HashMap
dup
bipush 17
invokespecial java.util.HashMap.<init>:(I)V
astore 0
start local 0 1: aload 0
ldc "sgml"
getstatic java.lang.Boolean.TRUE:Ljava/lang/Boolean;
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
2: aload 0
ldc "xml"
getstatic java.lang.Boolean.TRUE:Ljava/lang/Boolean;
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
3: aload 0
ldc "html"
getstatic java.lang.Boolean.TRUE:Ljava/lang/Boolean;
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
4: aload 0
ldc "enriched"
getstatic java.lang.Boolean.TRUE:Ljava/lang/Boolean;
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
5: aload 0
ldc "richtext"
getstatic java.lang.Boolean.TRUE:Ljava/lang/Boolean;
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
6: aload 0
ldc "uri-list"
getstatic java.lang.Boolean.TRUE:Ljava/lang/Boolean;
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
7: aload 0
ldc "directory"
getstatic java.lang.Boolean.TRUE:Ljava/lang/Boolean;
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
8: aload 0
ldc "css"
getstatic java.lang.Boolean.TRUE:Ljava/lang/Boolean;
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
9: aload 0
ldc "calendar"
getstatic java.lang.Boolean.TRUE:Ljava/lang/Boolean;
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
10: aload 0
ldc "plain"
getstatic java.lang.Boolean.TRUE:Ljava/lang/Boolean;
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
11: aload 0
ldc "rtf"
getstatic java.lang.Boolean.FALSE:Ljava/lang/Boolean;
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
12: aload 0
ldc "tab-separated-values"
getstatic java.lang.Boolean.FALSE:Ljava/lang/Boolean;
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
13: aload 0
ldc "t140"
getstatic java.lang.Boolean.FALSE:Ljava/lang/Boolean;
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
14: aload 0
ldc "rfc822-headers"
getstatic java.lang.Boolean.FALSE:Ljava/lang/Boolean;
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
15: aload 0
ldc "parityfec"
getstatic java.lang.Boolean.FALSE:Ljava/lang/Boolean;
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
16: aload 0
invokestatic java.util.Collections.synchronizedMap:(Ljava/util/Map;)Ljava/util/Map;
putstatic sun.datatransfer.DataFlavorUtil.textMIMESubtypeCharsetSupport:Ljava/util/Map;
end local 0 17: return
LocalVariableTable:
Start End Slot Name Signature
1 17 0 tempMap Ljava/util/Map<Ljava/lang/String;Ljava/lang/Boolean;>;
private void <init>();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/datatransfer/DataFlavorUtil;
private static java.util.Comparator<java.lang.String> getCharsetComparator();
descriptor: ()Ljava/util/Comparator;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: getstatic sun.datatransfer.DataFlavorUtil$CharsetComparator.INSTANCE:Lsun/datatransfer/DataFlavorUtil$CharsetComparator;
areturn
LocalVariableTable:
Start End Slot Name Signature
Signature: ()Ljava/util/Comparator<Ljava/lang/String;>;
public static java.util.Comparator<java.awt.datatransfer.DataFlavor> getDataFlavorComparator();
descriptor: ()Ljava/util/Comparator;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: getstatic sun.datatransfer.DataFlavorUtil$DataFlavorComparator.INSTANCE:Lsun/datatransfer/DataFlavorUtil$DataFlavorComparator;
areturn
LocalVariableTable:
Start End Slot Name Signature
Signature: ()Ljava/util/Comparator<Ljava/awt/datatransfer/DataFlavor;>;
public static java.util.Comparator<java.lang.Long> getIndexOrderComparator(java.util.Map<java.lang.Long, java.lang.Integer>);
descriptor: (Ljava/util/Map;)Ljava/util/Comparator;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new sun.datatransfer.DataFlavorUtil$IndexOrderComparator
dup
aload 0
invokespecial sun.datatransfer.DataFlavorUtil$IndexOrderComparator.<init>:(Ljava/util/Map;)V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 indexMap Ljava/util/Map<Ljava/lang/Long;Ljava/lang/Integer;>;
Signature: (Ljava/util/Map<Ljava/lang/Long;Ljava/lang/Integer;>;)Ljava/util/Comparator<Ljava/lang/Long;>;
MethodParameters:
Name Flags
indexMap
public static java.util.Comparator<java.awt.datatransfer.DataFlavor> getTextFlavorComparator();
descriptor: ()Ljava/util/Comparator;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: getstatic sun.datatransfer.DataFlavorUtil$TextFlavorComparator.INSTANCE:Lsun/datatransfer/DataFlavorUtil$TextFlavorComparator;
areturn
LocalVariableTable:
Start End Slot Name Signature
Signature: ()Ljava/util/Comparator<Ljava/awt/datatransfer/DataFlavor;>;
public static java.util.Set<java.lang.String> standardEncodings();
descriptor: ()Ljava/util/Set;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: getstatic sun.datatransfer.DataFlavorUtil$StandardEncodingsHolder.standardEncodings:Ljava/util/SortedSet;
areturn
LocalVariableTable:
Start End Slot Name Signature
Signature: ()Ljava/util/Set<Ljava/lang/String;>;
public static java.lang.String canonicalName(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/String;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
ifnonnull 2
1: aconst_null
areturn
2: StackMap locals:
StackMap stack:
aload 0
invokestatic java.nio.charset.Charset.forName:(Ljava/lang/String;)Ljava/nio/charset/Charset;
invokevirtual java.nio.charset.Charset.name:()Ljava/lang/String;
3: areturn
4: StackMap locals:
StackMap stack: java.nio.charset.IllegalCharsetNameException
pop
5: aload 0
areturn
6: StackMap locals:
StackMap stack: java.nio.charset.UnsupportedCharsetException
pop
7: aload 0
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 encoding Ljava/lang/String;
Exception table:
from to target type
2 3 4 Class java.nio.charset.IllegalCharsetNameException
2 3 6 Class java.nio.charset.UnsupportedCharsetException
MethodParameters:
Name Flags
encoding
public static boolean doesSubtypeSupportCharset(java.awt.datatransfer.DataFlavor);
descriptor: (Ljava/awt/datatransfer/DataFlavor;)Z
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=4, args_size=1
start local 0 0: aload 0
invokevirtual java.awt.datatransfer.DataFlavor.getSubType:()Ljava/lang/String;
astore 1
start local 1 1: aload 1
ifnonnull 3
2: iconst_0
ireturn
3: StackMap locals: java.lang.String
StackMap stack:
getstatic sun.datatransfer.DataFlavorUtil.textMIMESubtypeCharsetSupport:Ljava/util/Map;
aload 1
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.lang.Boolean
astore 2
start local 2 4: aload 2
ifnull 6
5: aload 2
invokevirtual java.lang.Boolean.booleanValue:()Z
ireturn
6: StackMap locals: java.lang.Boolean
StackMap stack:
aload 0
ldc "charset"
invokevirtual java.awt.datatransfer.DataFlavor.getParameter:(Ljava/lang/String;)Ljava/lang/String;
ifnull 7
iconst_1
goto 8
StackMap locals:
StackMap stack:
7: iconst_0
StackMap locals:
StackMap stack: int
8: istore 3
start local 3 9: getstatic sun.datatransfer.DataFlavorUtil.textMIMESubtypeCharsetSupport:Ljava/util/Map;
aload 1
iload 3
invokestatic java.lang.Boolean.valueOf:(Z)Ljava/lang/Boolean;
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
10: iload 3
ireturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 flavor Ljava/awt/datatransfer/DataFlavor;
1 11 1 subType Ljava/lang/String;
4 11 2 support Ljava/lang/Boolean;
9 11 3 ret_val Z
MethodParameters:
Name Flags
flavor
public static boolean doesSubtypeSupportCharset(java.lang.String, java.lang.String);
descriptor: (Ljava/lang/String;Ljava/lang/String;)Z
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=4, args_size=2
start local 0 start local 1 0: getstatic sun.datatransfer.DataFlavorUtil.textMIMESubtypeCharsetSupport:Ljava/util/Map;
aload 0
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.lang.Boolean
astore 2
start local 2 1: aload 2
ifnull 3
2: aload 2
invokevirtual java.lang.Boolean.booleanValue:()Z
ireturn
3: StackMap locals: java.lang.Boolean
StackMap stack:
aload 1
ifnull 4
iconst_1
goto 5
StackMap locals:
StackMap stack:
4: iconst_0
StackMap locals:
StackMap stack: int
5: istore 3
start local 3 6: getstatic sun.datatransfer.DataFlavorUtil.textMIMESubtypeCharsetSupport:Ljava/util/Map;
aload 0
iload 3
invokestatic java.lang.Boolean.valueOf:(Z)Ljava/lang/Boolean;
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
7: iload 3
ireturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 subType Ljava/lang/String;
0 8 1 charset Ljava/lang/String;
1 8 2 support Ljava/lang/Boolean;
6 8 3 ret_val Z
MethodParameters:
Name Flags
subType
charset
public static boolean isFlavorCharsetTextType(java.awt.datatransfer.DataFlavor);
descriptor: (Ljava/awt/datatransfer/DataFlavor;)Z
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=3, args_size=1
start local 0 0: getstatic java.awt.datatransfer.DataFlavor.stringFlavor:Ljava/awt/datatransfer/DataFlavor;
aload 0
invokevirtual java.awt.datatransfer.DataFlavor.equals:(Ljava/awt/datatransfer/DataFlavor;)Z
ifeq 2
1: iconst_1
ireturn
2: StackMap locals:
StackMap stack:
ldc "text"
aload 0
invokevirtual java.awt.datatransfer.DataFlavor.getPrimaryType:()Ljava/lang/String;
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 4
3: aload 0
invokestatic sun.datatransfer.DataFlavorUtil.doesSubtypeSupportCharset:(Ljava/awt/datatransfer/DataFlavor;)Z
ifne 5
4: StackMap locals:
StackMap stack:
iconst_0
ireturn
5: StackMap locals:
StackMap stack:
aload 0
invokevirtual java.awt.datatransfer.DataFlavor.getRepresentationClass:()Ljava/lang/Class;
astore 1
start local 1 6: aload 0
invokevirtual java.awt.datatransfer.DataFlavor.isRepresentationClassReader:()Z
ifne 10
7: ldc Ljava/lang/String;
aload 1
invokevirtual java.lang.Object.equals:(Ljava/lang/Object;)Z
ifne 10
8: aload 0
invokevirtual java.awt.datatransfer.DataFlavor.isRepresentationClassCharBuffer:()Z
ifne 10
9: ldc [C
aload 1
invokevirtual java.lang.Object.equals:(Ljava/lang/Object;)Z
ifeq 11
10: StackMap locals: java.lang.Class
StackMap stack:
iconst_1
ireturn
11: StackMap locals:
StackMap stack:
aload 0
invokevirtual java.awt.datatransfer.DataFlavor.isRepresentationClassInputStream:()Z
ifne 15
12: aload 0
invokevirtual java.awt.datatransfer.DataFlavor.isRepresentationClassByteBuffer:()Z
ifne 15
13: ldc [B
aload 1
invokevirtual java.lang.Object.equals:(Ljava/lang/Object;)Z
ifne 15
14: iconst_0
ireturn
15: StackMap locals:
StackMap stack:
aload 0
ldc "charset"
invokevirtual java.awt.datatransfer.DataFlavor.getParameter:(Ljava/lang/String;)Ljava/lang/String;
astore 2
start local 2 16: aload 2
ifnull 17
aload 2
invokestatic sun.datatransfer.DataFlavorUtil.isEncodingSupported:(Ljava/lang/String;)Z
ifne 17
iconst_0
ireturn
StackMap locals: java.lang.String
StackMap stack:
17: iconst_1
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 18 0 flavor Ljava/awt/datatransfer/DataFlavor;
6 18 1 rep_class Ljava/lang/Class<*>;
16 18 2 charset Ljava/lang/String;
MethodParameters:
Name Flags
flavor
public static boolean isFlavorNoncharsetTextType(java.awt.datatransfer.DataFlavor);
descriptor: (Ljava/awt/datatransfer/DataFlavor;)Z
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: ldc "text"
aload 0
invokevirtual java.awt.datatransfer.DataFlavor.getPrimaryType:()Ljava/lang/String;
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 1
aload 0
invokestatic sun.datatransfer.DataFlavorUtil.doesSubtypeSupportCharset:(Ljava/awt/datatransfer/DataFlavor;)Z
ifeq 2
1: StackMap locals:
StackMap stack:
iconst_0
ireturn
2: StackMap locals:
StackMap stack:
aload 0
invokevirtual java.awt.datatransfer.DataFlavor.isRepresentationClassInputStream:()Z
ifne 6
3: aload 0
invokevirtual java.awt.datatransfer.DataFlavor.isRepresentationClassByteBuffer:()Z
ifne 6
4: ldc [B
aload 0
invokevirtual java.awt.datatransfer.DataFlavor.getRepresentationClass:()Ljava/lang/Class;
invokevirtual java.lang.Object.equals:(Ljava/lang/Object;)Z
ifne 6
5: iconst_0
ireturn
StackMap locals:
StackMap stack:
6: iconst_1
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 flavor Ljava/awt/datatransfer/DataFlavor;
MethodParameters:
Name Flags
flavor
public static java.lang.String getTextCharset(java.awt.datatransfer.DataFlavor);
descriptor: (Ljava/awt/datatransfer/DataFlavor;)Ljava/lang/String;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
invokestatic sun.datatransfer.DataFlavorUtil.isFlavorCharsetTextType:(Ljava/awt/datatransfer/DataFlavor;)Z
ifne 2
1: aconst_null
areturn
2: StackMap locals:
StackMap stack:
aload 0
ldc "charset"
invokevirtual java.awt.datatransfer.DataFlavor.getParameter:(Ljava/lang/String;)Ljava/lang/String;
astore 1
start local 1 3: aload 1
ifnull 4
aload 1
goto 5
StackMap locals: java.lang.String
StackMap stack:
4: invokestatic java.nio.charset.Charset.defaultCharset:()Ljava/nio/charset/Charset;
invokevirtual java.nio.charset.Charset.name:()Ljava/lang/String;
StackMap locals:
StackMap stack: java.lang.String
5: areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 flavor Ljava/awt/datatransfer/DataFlavor;
3 6 1 encoding Ljava/lang/String;
MethodParameters:
Name Flags
flavor
private static boolean isEncodingSupported(java.lang.String);
descriptor: (Ljava/lang/String;)Z
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
ifnonnull 2
1: iconst_0
ireturn
2: StackMap locals:
StackMap stack:
aload 0
invokestatic java.nio.charset.Charset.isSupported:(Ljava/lang/String;)Z
3: ireturn
4: StackMap locals:
StackMap stack: java.nio.charset.IllegalCharsetNameException
pop
5: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 encoding Ljava/lang/String;
Exception table:
from to target type
2 3 4 Class java.nio.charset.IllegalCharsetNameException
MethodParameters:
Name Flags
encoding
static <T> int compareIndices(java.util.Map<T, java.lang.Integer>, T, T, java.lang.Integer);
descriptor: (Ljava/util/Map;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Integer;)I
flags: (0x0008) ACC_STATIC
Code:
stack=3, locals=6, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
aload 1
aload 3
invokeinterface java.util.Map.getOrDefault:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.lang.Integer
astore 4
start local 4 1: aload 0
aload 2
aload 3
invokeinterface java.util.Map.getOrDefault:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.lang.Integer
astore 5
start local 5 2: aload 4
aload 5
invokevirtual java.lang.Integer.compareTo:(Ljava/lang/Integer;)I
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 3 0 indexMap Ljava/util/Map<TT;Ljava/lang/Integer;>;
0 3 1 obj1 TT;
0 3 2 obj2 TT;
0 3 3 fallbackIndex Ljava/lang/Integer;
1 3 4 index1 Ljava/lang/Integer;
2 3 5 index2 Ljava/lang/Integer;
Signature: <T:Ljava/lang/Object;>(Ljava/util/Map<TT;Ljava/lang/Integer;>;TT;TT;Ljava/lang/Integer;)I
MethodParameters:
Name Flags
indexMap
obj1
obj2
fallbackIndex
public static sun.datatransfer.DesktopDatatransferService getDesktopService();
descriptor: ()Lsun/datatransfer/DesktopDatatransferService;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: getstatic sun.datatransfer.DataFlavorUtil$DefaultDesktopDatatransferService.INSTANCE:Lsun/datatransfer/DesktopDatatransferService;
areturn
LocalVariableTable:
Start End Slot Name Signature
}
SourceFile: "DataFlavorUtil.java"
NestMembers:
sun.datatransfer.DataFlavorUtil$CharsetComparator sun.datatransfer.DataFlavorUtil$DataFlavorComparator sun.datatransfer.DataFlavorUtil$DefaultDesktopDatatransferService sun.datatransfer.DataFlavorUtil$IndexOrderComparator sun.datatransfer.DataFlavorUtil$RMI sun.datatransfer.DataFlavorUtil$StandardEncodingsHolder sun.datatransfer.DataFlavorUtil$TextFlavorComparator
InnerClasses:
private CharsetComparator = sun.datatransfer.DataFlavorUtil$CharsetComparator of sun.datatransfer.DataFlavorUtil
private DataFlavorComparator = sun.datatransfer.DataFlavorUtil$DataFlavorComparator of sun.datatransfer.DataFlavorUtil
private final DefaultDesktopDatatransferService = sun.datatransfer.DataFlavorUtil$DefaultDesktopDatatransferService of sun.datatransfer.DataFlavorUtil
private IndexOrderComparator = sun.datatransfer.DataFlavorUtil$IndexOrderComparator of sun.datatransfer.DataFlavorUtil
public RMI = sun.datatransfer.DataFlavorUtil$RMI of sun.datatransfer.DataFlavorUtil
private StandardEncodingsHolder = sun.datatransfer.DataFlavorUtil$StandardEncodingsHolder of sun.datatransfer.DataFlavorUtil
private TextFlavorComparator = sun.datatransfer.DataFlavorUtil$TextFlavorComparator of sun.datatransfer.DataFlavorUtil