public class javax.activation.DataHandler implements java.awt.datatransfer.Transferable
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: javax.activation.DataHandler
super_class: java.lang.Object
{
private javax.activation.DataSource dataSource;
descriptor: Ljavax/activation/DataSource;
flags: (0x0002) ACC_PRIVATE
private javax.activation.DataSource objDataSource;
descriptor: Ljavax/activation/DataSource;
flags: (0x0002) ACC_PRIVATE
private java.lang.Object object;
descriptor: Ljava/lang/Object;
flags: (0x0002) ACC_PRIVATE
private java.lang.String objectMimeType;
descriptor: Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
private javax.activation.CommandMap currentCommandMap;
descriptor: Ljavax/activation/CommandMap;
flags: (0x0002) ACC_PRIVATE
private static final java.awt.datatransfer.DataFlavor[] emptyFlavors;
descriptor: [Ljava/awt/datatransfer/DataFlavor;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private java.awt.datatransfer.DataFlavor[] transferFlavors;
descriptor: [Ljava/awt/datatransfer/DataFlavor;
flags: (0x0002) ACC_PRIVATE
private javax.activation.DataContentHandler dataContentHandler;
descriptor: Ljavax/activation/DataContentHandler;
flags: (0x0002) ACC_PRIVATE
private javax.activation.DataContentHandler factoryDCH;
descriptor: Ljavax/activation/DataContentHandler;
flags: (0x0002) ACC_PRIVATE
private static javax.activation.DataContentHandlerFactory factory;
descriptor: Ljavax/activation/DataContentHandlerFactory;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
private javax.activation.DataContentHandlerFactory oldFactory;
descriptor: Ljavax/activation/DataContentHandlerFactory;
flags: (0x0002) ACC_PRIVATE
private java.lang.String shortType;
descriptor: Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: iconst_0
anewarray java.awt.datatransfer.DataFlavor
putstatic javax.activation.DataHandler.emptyFlavors:[Ljava/awt/datatransfer/DataFlavor;
1: aconst_null
putstatic javax.activation.DataHandler.factory:Ljavax/activation/DataContentHandlerFactory;
return
LocalVariableTable:
Start End Slot Name Signature
public void <init>(javax.activation.DataSource);
descriptor: (Ljavax/activation/DataSource;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aconst_null
putfield javax.activation.DataHandler.dataSource:Ljavax/activation/DataSource;
2: aload 0
aconst_null
putfield javax.activation.DataHandler.objDataSource:Ljavax/activation/DataSource;
3: aload 0
aconst_null
putfield javax.activation.DataHandler.object:Ljava/lang/Object;
4: aload 0
aconst_null
putfield javax.activation.DataHandler.objectMimeType:Ljava/lang/String;
5: aload 0
aconst_null
putfield javax.activation.DataHandler.currentCommandMap:Ljavax/activation/CommandMap;
6: aload 0
getstatic javax.activation.DataHandler.emptyFlavors:[Ljava/awt/datatransfer/DataFlavor;
putfield javax.activation.DataHandler.transferFlavors:[Ljava/awt/datatransfer/DataFlavor;
7: aload 0
aconst_null
putfield javax.activation.DataHandler.dataContentHandler:Ljavax/activation/DataContentHandler;
8: aload 0
aconst_null
putfield javax.activation.DataHandler.factoryDCH:Ljavax/activation/DataContentHandler;
9: aload 0
aconst_null
putfield javax.activation.DataHandler.oldFactory:Ljavax/activation/DataContentHandlerFactory;
10: aload 0
aconst_null
putfield javax.activation.DataHandler.shortType:Ljava/lang/String;
11: aload 0
aload 1
putfield javax.activation.DataHandler.dataSource:Ljavax/activation/DataSource;
12: aload 0
getstatic javax.activation.DataHandler.factory:Ljavax/activation/DataContentHandlerFactory;
putfield javax.activation.DataHandler.oldFactory:Ljavax/activation/DataContentHandlerFactory;
13: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 this Ljavax/activation/DataHandler;
0 14 1 ds Ljavax/activation/DataSource;
MethodParameters:
Name Flags
ds
public void <init>(java.lang.Object, java.lang.String);
descriptor: (Ljava/lang/Object;Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aconst_null
putfield javax.activation.DataHandler.dataSource:Ljavax/activation/DataSource;
2: aload 0
aconst_null
putfield javax.activation.DataHandler.objDataSource:Ljavax/activation/DataSource;
3: aload 0
aconst_null
putfield javax.activation.DataHandler.object:Ljava/lang/Object;
4: aload 0
aconst_null
putfield javax.activation.DataHandler.objectMimeType:Ljava/lang/String;
5: aload 0
aconst_null
putfield javax.activation.DataHandler.currentCommandMap:Ljavax/activation/CommandMap;
6: aload 0
getstatic javax.activation.DataHandler.emptyFlavors:[Ljava/awt/datatransfer/DataFlavor;
putfield javax.activation.DataHandler.transferFlavors:[Ljava/awt/datatransfer/DataFlavor;
7: aload 0
aconst_null
putfield javax.activation.DataHandler.dataContentHandler:Ljavax/activation/DataContentHandler;
8: aload 0
aconst_null
putfield javax.activation.DataHandler.factoryDCH:Ljavax/activation/DataContentHandler;
9: aload 0
aconst_null
putfield javax.activation.DataHandler.oldFactory:Ljavax/activation/DataContentHandlerFactory;
10: aload 0
aconst_null
putfield javax.activation.DataHandler.shortType:Ljava/lang/String;
11: aload 0
aload 1
putfield javax.activation.DataHandler.object:Ljava/lang/Object;
12: aload 0
aload 2
putfield javax.activation.DataHandler.objectMimeType:Ljava/lang/String;
13: aload 0
getstatic javax.activation.DataHandler.factory:Ljavax/activation/DataContentHandlerFactory;
putfield javax.activation.DataHandler.oldFactory:Ljavax/activation/DataContentHandlerFactory;
14: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 15 0 this Ljavax/activation/DataHandler;
0 15 1 obj Ljava/lang/Object;
0 15 2 mimeType Ljava/lang/String;
MethodParameters:
Name Flags
obj
mimeType
public void <init>(java.net.URL);
descriptor: (Ljava/net/URL;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aconst_null
putfield javax.activation.DataHandler.dataSource:Ljavax/activation/DataSource;
2: aload 0
aconst_null
putfield javax.activation.DataHandler.objDataSource:Ljavax/activation/DataSource;
3: aload 0
aconst_null
putfield javax.activation.DataHandler.object:Ljava/lang/Object;
4: aload 0
aconst_null
putfield javax.activation.DataHandler.objectMimeType:Ljava/lang/String;
5: aload 0
aconst_null
putfield javax.activation.DataHandler.currentCommandMap:Ljavax/activation/CommandMap;
6: aload 0
getstatic javax.activation.DataHandler.emptyFlavors:[Ljava/awt/datatransfer/DataFlavor;
putfield javax.activation.DataHandler.transferFlavors:[Ljava/awt/datatransfer/DataFlavor;
7: aload 0
aconst_null
putfield javax.activation.DataHandler.dataContentHandler:Ljavax/activation/DataContentHandler;
8: aload 0
aconst_null
putfield javax.activation.DataHandler.factoryDCH:Ljavax/activation/DataContentHandler;
9: aload 0
aconst_null
putfield javax.activation.DataHandler.oldFactory:Ljavax/activation/DataContentHandlerFactory;
10: aload 0
aconst_null
putfield javax.activation.DataHandler.shortType:Ljava/lang/String;
11: aload 0
new javax.activation.URLDataSource
dup
aload 1
invokespecial javax.activation.URLDataSource.<init>:(Ljava/net/URL;)V
putfield javax.activation.DataHandler.dataSource:Ljavax/activation/DataSource;
12: aload 0
getstatic javax.activation.DataHandler.factory:Ljavax/activation/DataContentHandlerFactory;
putfield javax.activation.DataHandler.oldFactory:Ljavax/activation/DataContentHandlerFactory;
13: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 this Ljavax/activation/DataHandler;
0 14 1 url Ljava/net/URL;
MethodParameters:
Name Flags
url
private synchronized javax.activation.CommandMap getCommandMap();
descriptor: ()Ljavax/activation/CommandMap;
flags: (0x0022) ACC_PRIVATE, ACC_SYNCHRONIZED
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield javax.activation.DataHandler.currentCommandMap:Ljavax/activation/CommandMap;
ifnull 2
1: aload 0
getfield javax.activation.DataHandler.currentCommandMap:Ljavax/activation/CommandMap;
areturn
2: StackMap locals:
StackMap stack:
invokestatic javax.activation.CommandMap.getDefaultCommandMap:()Ljavax/activation/CommandMap;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljavax/activation/DataHandler;
public javax.activation.DataSource getDataSource();
descriptor: ()Ljavax/activation/DataSource;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=1, args_size=1
start local 0 0: aload 0
getfield javax.activation.DataHandler.dataSource:Ljavax/activation/DataSource;
ifnonnull 4
1: aload 0
getfield javax.activation.DataHandler.objDataSource:Ljavax/activation/DataSource;
ifnonnull 3
2: aload 0
new javax.activation.DataHandlerDataSource
dup
aload 0
invokespecial javax.activation.DataHandlerDataSource.<init>:(Ljavax/activation/DataHandler;)V
putfield javax.activation.DataHandler.objDataSource:Ljavax/activation/DataSource;
3: StackMap locals:
StackMap stack:
aload 0
getfield javax.activation.DataHandler.objDataSource:Ljavax/activation/DataSource;
areturn
4: StackMap locals:
StackMap stack:
aload 0
getfield javax.activation.DataHandler.dataSource:Ljavax/activation/DataSource;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Ljavax/activation/DataHandler;
public java.lang.String getName();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield javax.activation.DataHandler.dataSource:Ljavax/activation/DataSource;
ifnull 2
1: aload 0
getfield javax.activation.DataHandler.dataSource:Ljavax/activation/DataSource;
invokeinterface javax.activation.DataSource.getName:()Ljava/lang/String;
areturn
2: StackMap locals:
StackMap stack:
aconst_null
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljavax/activation/DataHandler;
public java.lang.String getContentType();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield javax.activation.DataHandler.dataSource:Ljavax/activation/DataSource;
ifnull 2
1: aload 0
getfield javax.activation.DataHandler.dataSource:Ljavax/activation/DataSource;
invokeinterface javax.activation.DataSource.getContentType:()Ljava/lang/String;
areturn
2: StackMap locals:
StackMap stack:
aload 0
getfield javax.activation.DataHandler.objectMimeType:Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljavax/activation/DataHandler;
public java.io.InputStream getInputStream();
descriptor: ()Ljava/io/InputStream;
flags: (0x0001) ACC_PUBLIC
Code:
stack=7, locals=6, args_size=1
start local 0 0: aconst_null
astore 1
start local 1 1: aload 0
getfield javax.activation.DataHandler.dataSource:Ljavax/activation/DataSource;
ifnull 4
2: aload 0
getfield javax.activation.DataHandler.dataSource:Ljavax/activation/DataSource;
invokeinterface javax.activation.DataSource.getInputStream:()Ljava/io/InputStream;
astore 1
3: goto 23
4: StackMap locals: java.io.InputStream
StackMap stack:
aload 0
invokevirtual javax.activation.DataHandler.getDataContentHandler:()Ljavax/activation/DataContentHandler;
astore 2
start local 2 5: aload 2
ifnonnull 9
6: new javax.activation.UnsupportedDataTypeException
dup
7: new java.lang.StringBuilder
dup
ldc "no DCH for MIME type "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
invokevirtual javax.activation.DataHandler.getBaseType:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
8: invokespecial javax.activation.UnsupportedDataTypeException.<init>:(Ljava/lang/String;)V
athrow
9: StackMap locals: javax.activation.DataContentHandler
StackMap stack:
aload 2
instanceof javax.activation.ObjectDataContentHandler
ifeq 14
10: aload 2
checkcast javax.activation.ObjectDataContentHandler
invokevirtual javax.activation.ObjectDataContentHandler.getDCH:()Ljavax/activation/DataContentHandler;
ifnonnull 14
11: new javax.activation.UnsupportedDataTypeException
dup
12: new java.lang.StringBuilder
dup
ldc "no object DCH for MIME type "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
invokevirtual javax.activation.DataHandler.getBaseType:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
13: invokespecial javax.activation.UnsupportedDataTypeException.<init>:(Ljava/lang/String;)V
athrow
14: StackMap locals:
StackMap stack:
aload 2
astore 3
start local 3 15: new java.io.PipedOutputStream
dup
invokespecial java.io.PipedOutputStream.<init>:()V
astore 4
start local 4 16: new java.io.PipedInputStream
dup
aload 4
invokespecial java.io.PipedInputStream.<init>:(Ljava/io/PipedOutputStream;)V
astore 5
start local 5 17: new java.lang.Thread
dup
18: new javax.activation.DataHandler$1
dup
aload 0
aload 4
aload 3
invokespecial javax.activation.DataHandler$1.<init>:(Ljavax/activation/DataHandler;Ljava/io/PipedOutputStream;Ljavax/activation/DataContentHandler;)V
19: ldc "DataHandler.getInputStream"
20: invokespecial java.lang.Thread.<init>:(Ljava/lang/Runnable;Ljava/lang/String;)V
21: invokevirtual java.lang.Thread.start:()V
22: aload 5
astore 1
end local 5 end local 4 end local 3 end local 2 23: StackMap locals:
StackMap stack:
aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 24 0 this Ljavax/activation/DataHandler;
1 24 1 ins Ljava/io/InputStream;
5 23 2 dch Ljavax/activation/DataContentHandler;
15 23 3 fdch Ljavax/activation/DataContentHandler;
16 23 4 pos Ljava/io/PipedOutputStream;
17 23 5 pin Ljava/io/PipedInputStream;
Exceptions:
throws java.io.IOException
public void writeTo(java.io.OutputStream);
descriptor: (Ljava/io/OutputStream;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=6, args_size=2
start local 0 start local 1 0: aload 0
getfield javax.activation.DataHandler.dataSource:Ljavax/activation/DataSource;
ifnull 16
1: aconst_null
astore 2
start local 2 2: sipush 8192
newarray 8
astore 3
start local 3 3: aload 0
getfield javax.activation.DataHandler.dataSource:Ljavax/activation/DataSource;
invokeinterface javax.activation.DataSource.getInputStream:()Ljava/io/InputStream;
astore 2
4: goto 6
start local 4 5: StackMap locals: java.io.InputStream byte[] int
StackMap stack:
aload 1
aload 3
iconst_0
iload 4
invokevirtual java.io.OutputStream.write:([BII)V
end local 4 6: StackMap locals:
StackMap stack:
aload 2
aload 3
invokevirtual java.io.InputStream.read:([B)I
dup
istore 4
start local 4 7: ifgt 5
8: goto 13
end local 4 StackMap locals:
StackMap stack: java.lang.Throwable
9: astore 5
10: aload 2
invokevirtual java.io.InputStream.close:()V
11: aconst_null
astore 2
12: aload 5
athrow
start local 4 13: StackMap locals: int
StackMap stack:
aload 2
invokevirtual java.io.InputStream.close:()V
14: aconst_null
astore 2
end local 4 end local 3 end local 2 15: goto 18
16: StackMap locals:
StackMap stack:
aload 0
invokevirtual javax.activation.DataHandler.getDataContentHandler:()Ljavax/activation/DataContentHandler;
astore 2
start local 2 17: aload 2
aload 0
getfield javax.activation.DataHandler.object:Ljava/lang/Object;
aload 0
getfield javax.activation.DataHandler.objectMimeType:Ljava/lang/String;
aload 1
invokeinterface javax.activation.DataContentHandler.writeTo:(Ljava/lang/Object;Ljava/lang/String;Ljava/io/OutputStream;)V
end local 2 18: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 19 0 this Ljavax/activation/DataHandler;
0 19 1 os Ljava/io/OutputStream;
2 15 2 is Ljava/io/InputStream;
3 15 3 data [B
5 6 4 bytes_read I
7 9 4 bytes_read I
13 15 4 bytes_read I
17 18 2 dch Ljavax/activation/DataContentHandler;
Exception table:
from to target type
4 9 9 any
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
os
public java.io.OutputStream getOutputStream();
descriptor: ()Ljava/io/OutputStream;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield javax.activation.DataHandler.dataSource:Ljavax/activation/DataSource;
ifnull 2
1: aload 0
getfield javax.activation.DataHandler.dataSource:Ljavax/activation/DataSource;
invokeinterface javax.activation.DataSource.getOutputStream:()Ljava/io/OutputStream;
areturn
2: StackMap locals:
StackMap stack:
aconst_null
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljavax/activation/DataHandler;
Exceptions:
throws java.io.IOException
public synchronized java.awt.datatransfer.DataFlavor[] getTransferDataFlavors();
descriptor: ()[Ljava/awt/datatransfer/DataFlavor;
flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
Code:
stack=2, locals=1, args_size=1
start local 0 0: getstatic javax.activation.DataHandler.factory:Ljavax/activation/DataContentHandlerFactory;
aload 0
getfield javax.activation.DataHandler.oldFactory:Ljavax/activation/DataContentHandlerFactory;
if_acmpeq 2
1: aload 0
getstatic javax.activation.DataHandler.emptyFlavors:[Ljava/awt/datatransfer/DataFlavor;
putfield javax.activation.DataHandler.transferFlavors:[Ljava/awt/datatransfer/DataFlavor;
2: StackMap locals:
StackMap stack:
aload 0
getfield javax.activation.DataHandler.transferFlavors:[Ljava/awt/datatransfer/DataFlavor;
getstatic javax.activation.DataHandler.emptyFlavors:[Ljava/awt/datatransfer/DataFlavor;
if_acmpne 4
3: aload 0
aload 0
invokevirtual javax.activation.DataHandler.getDataContentHandler:()Ljavax/activation/DataContentHandler;
invokeinterface javax.activation.DataContentHandler.getTransferDataFlavors:()[Ljava/awt/datatransfer/DataFlavor;
putfield javax.activation.DataHandler.transferFlavors:[Ljava/awt/datatransfer/DataFlavor;
4: StackMap locals:
StackMap stack:
aload 0
getfield javax.activation.DataHandler.transferFlavors:[Ljava/awt/datatransfer/DataFlavor;
getstatic javax.activation.DataHandler.emptyFlavors:[Ljava/awt/datatransfer/DataFlavor;
if_acmpne 6
5: aload 0
getfield javax.activation.DataHandler.transferFlavors:[Ljava/awt/datatransfer/DataFlavor;
areturn
6: StackMap locals:
StackMap stack:
aload 0
getfield javax.activation.DataHandler.transferFlavors:[Ljava/awt/datatransfer/DataFlavor;
invokevirtual java.awt.datatransfer.DataFlavor[].clone:()Ljava/lang/Object;
checkcast java.awt.datatransfer.DataFlavor[]
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Ljavax/activation/DataHandler;
public boolean isDataFlavorSupported(java.awt.datatransfer.DataFlavor);
descriptor: (Ljava/awt/datatransfer/DataFlavor;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=4, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual javax.activation.DataHandler.getTransferDataFlavors:()[Ljava/awt/datatransfer/DataFlavor;
astore 2
start local 2 1: iconst_0
istore 3
start local 3 2: goto 6
3: StackMap locals: java.awt.datatransfer.DataFlavor[] int
StackMap stack:
aload 2
iload 3
aaload
aload 1
invokevirtual java.awt.datatransfer.DataFlavor.equals:(Ljava/awt/datatransfer/DataFlavor;)Z
ifeq 5
4: iconst_1
ireturn
5: StackMap locals:
StackMap stack:
iinc 3 1
StackMap locals:
StackMap stack:
6: iload 3
aload 2
arraylength
if_icmplt 3
end local 3 7: iconst_0
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Ljavax/activation/DataHandler;
0 8 1 flavor Ljava/awt/datatransfer/DataFlavor;
1 8 2 lFlavors [Ljava/awt/datatransfer/DataFlavor;
2 7 3 i I
MethodParameters:
Name Flags
flavor
public java.lang.Object getTransferData(java.awt.datatransfer.DataFlavor);
descriptor: (Ljava/awt/datatransfer/DataFlavor;)Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual javax.activation.DataHandler.getDataContentHandler:()Ljavax/activation/DataContentHandler;
aload 1
aload 0
getfield javax.activation.DataHandler.dataSource:Ljavax/activation/DataSource;
invokeinterface javax.activation.DataContentHandler.getTransferData:(Ljava/awt/datatransfer/DataFlavor;Ljavax/activation/DataSource;)Ljava/lang/Object;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/activation/DataHandler;
0 1 1 flavor Ljava/awt/datatransfer/DataFlavor;
Exceptions:
throws java.awt.datatransfer.UnsupportedFlavorException, java.io.IOException
MethodParameters:
Name Flags
flavor
public synchronized void setCommandMap(javax.activation.CommandMap);
descriptor: (Ljavax/activation/CommandMap;)V
flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 1
aload 0
getfield javax.activation.DataHandler.currentCommandMap:Ljavax/activation/CommandMap;
if_acmpne 1
aload 1
ifnonnull 4
1: StackMap locals:
StackMap stack:
aload 0
getstatic javax.activation.DataHandler.emptyFlavors:[Ljava/awt/datatransfer/DataFlavor;
putfield javax.activation.DataHandler.transferFlavors:[Ljava/awt/datatransfer/DataFlavor;
2: aload 0
aconst_null
putfield javax.activation.DataHandler.dataContentHandler:Ljavax/activation/DataContentHandler;
3: aload 0
aload 1
putfield javax.activation.DataHandler.currentCommandMap:Ljavax/activation/CommandMap;
4: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Ljavax/activation/DataHandler;
0 5 1 commandMap Ljavax/activation/CommandMap;
MethodParameters:
Name Flags
commandMap
public javax.activation.CommandInfo[] getPreferredCommands();
descriptor: ()[Ljavax/activation/CommandInfo;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
getfield javax.activation.DataHandler.dataSource:Ljavax/activation/DataSource;
ifnull 4
1: aload 0
invokevirtual javax.activation.DataHandler.getCommandMap:()Ljavax/activation/CommandMap;
aload 0
invokevirtual javax.activation.DataHandler.getBaseType:()Ljava/lang/String;
2: aload 0
getfield javax.activation.DataHandler.dataSource:Ljavax/activation/DataSource;
3: invokevirtual javax.activation.CommandMap.getPreferredCommands:(Ljava/lang/String;Ljavax/activation/DataSource;)[Ljavax/activation/CommandInfo;
areturn
4: StackMap locals:
StackMap stack:
aload 0
invokevirtual javax.activation.DataHandler.getCommandMap:()Ljavax/activation/CommandMap;
aload 0
invokevirtual javax.activation.DataHandler.getBaseType:()Ljava/lang/String;
invokevirtual javax.activation.CommandMap.getPreferredCommands:(Ljava/lang/String;)[Ljavax/activation/CommandInfo;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Ljavax/activation/DataHandler;
public javax.activation.CommandInfo[] getAllCommands();
descriptor: ()[Ljavax/activation/CommandInfo;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
getfield javax.activation.DataHandler.dataSource:Ljavax/activation/DataSource;
ifnull 2
1: aload 0
invokevirtual javax.activation.DataHandler.getCommandMap:()Ljavax/activation/CommandMap;
aload 0
invokevirtual javax.activation.DataHandler.getBaseType:()Ljava/lang/String;
aload 0
getfield javax.activation.DataHandler.dataSource:Ljavax/activation/DataSource;
invokevirtual javax.activation.CommandMap.getAllCommands:(Ljava/lang/String;Ljavax/activation/DataSource;)[Ljavax/activation/CommandInfo;
areturn
2: StackMap locals:
StackMap stack:
aload 0
invokevirtual javax.activation.DataHandler.getCommandMap:()Ljavax/activation/CommandMap;
aload 0
invokevirtual javax.activation.DataHandler.getBaseType:()Ljava/lang/String;
invokevirtual javax.activation.CommandMap.getAllCommands:(Ljava/lang/String;)[Ljavax/activation/CommandInfo;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljavax/activation/DataHandler;
public javax.activation.CommandInfo getCommand(java.lang.String);
descriptor: (Ljava/lang/String;)Ljavax/activation/CommandInfo;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield javax.activation.DataHandler.dataSource:Ljavax/activation/DataSource;
ifnull 4
1: aload 0
invokevirtual javax.activation.DataHandler.getCommandMap:()Ljavax/activation/CommandMap;
aload 0
invokevirtual javax.activation.DataHandler.getBaseType:()Ljava/lang/String;
aload 1
2: aload 0
getfield javax.activation.DataHandler.dataSource:Ljavax/activation/DataSource;
3: invokevirtual javax.activation.CommandMap.getCommand:(Ljava/lang/String;Ljava/lang/String;Ljavax/activation/DataSource;)Ljavax/activation/CommandInfo;
areturn
4: StackMap locals:
StackMap stack:
aload 0
invokevirtual javax.activation.DataHandler.getCommandMap:()Ljavax/activation/CommandMap;
aload 0
invokevirtual javax.activation.DataHandler.getBaseType:()Ljava/lang/String;
aload 1
invokevirtual javax.activation.CommandMap.getCommand:(Ljava/lang/String;Ljava/lang/String;)Ljavax/activation/CommandInfo;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Ljavax/activation/DataHandler;
0 5 1 cmdName Ljava/lang/String;
MethodParameters:
Name Flags
cmdName
public java.lang.Object getContent();
descriptor: ()Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield javax.activation.DataHandler.object:Ljava/lang/Object;
ifnull 2
1: aload 0
getfield javax.activation.DataHandler.object:Ljava/lang/Object;
areturn
2: StackMap locals:
StackMap stack:
aload 0
invokevirtual javax.activation.DataHandler.getDataContentHandler:()Ljavax/activation/DataContentHandler;
aload 0
invokevirtual javax.activation.DataHandler.getDataSource:()Ljavax/activation/DataSource;
invokeinterface javax.activation.DataContentHandler.getContent:(Ljavax/activation/DataSource;)Ljava/lang/Object;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljavax/activation/DataHandler;
Exceptions:
throws java.io.IOException
public java.lang.Object getBean(javax.activation.CommandInfo);
descriptor: (Ljavax/activation/CommandInfo;)Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=4, args_size=2
start local 0 start local 1 0: aconst_null
astore 2
start local 2 1: aconst_null
astore 3
start local 3 2: invokestatic javax.activation.SecuritySupport.getContextClassLoader:()Ljava/lang/ClassLoader;
astore 3
3: aload 3
ifnonnull 5
4: aload 0
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
invokevirtual java.lang.Class.getClassLoader:()Ljava/lang/ClassLoader;
astore 3
5: StackMap locals: java.lang.Object java.lang.ClassLoader
StackMap stack:
aload 1
aload 0
aload 3
invokevirtual javax.activation.CommandInfo.getCommandObject:(Ljavax/activation/DataHandler;Ljava/lang/ClassLoader;)Ljava/lang/Object;
astore 2
end local 3 6: goto 9
StackMap locals: javax.activation.DataHandler javax.activation.CommandInfo java.lang.Object
StackMap stack: java.io.IOException
7: pop
goto 9
8: StackMap locals:
StackMap stack: java.lang.ClassNotFoundException
pop
9: StackMap locals:
StackMap stack:
aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Ljavax/activation/DataHandler;
0 10 1 cmdinfo Ljavax/activation/CommandInfo;
1 10 2 bean Ljava/lang/Object;
2 6 3 cld Ljava/lang/ClassLoader;
Exception table:
from to target type
1 6 7 Class java.io.IOException
1 6 8 Class java.lang.ClassNotFoundException
MethodParameters:
Name Flags
cmdinfo
private synchronized javax.activation.DataContentHandler getDataContentHandler();
descriptor: ()Ljavax/activation/DataContentHandler;
flags: (0x0022) ACC_PRIVATE, ACC_SYNCHRONIZED
Code:
stack=6, locals=2, args_size=1
start local 0 0: getstatic javax.activation.DataHandler.factory:Ljavax/activation/DataContentHandlerFactory;
aload 0
getfield javax.activation.DataHandler.oldFactory:Ljavax/activation/DataContentHandlerFactory;
if_acmpeq 5
1: aload 0
getstatic javax.activation.DataHandler.factory:Ljavax/activation/DataContentHandlerFactory;
putfield javax.activation.DataHandler.oldFactory:Ljavax/activation/DataContentHandlerFactory;
2: aload 0
aconst_null
putfield javax.activation.DataHandler.factoryDCH:Ljavax/activation/DataContentHandler;
3: aload 0
aconst_null
putfield javax.activation.DataHandler.dataContentHandler:Ljavax/activation/DataContentHandler;
4: aload 0
getstatic javax.activation.DataHandler.emptyFlavors:[Ljava/awt/datatransfer/DataFlavor;
putfield javax.activation.DataHandler.transferFlavors:[Ljava/awt/datatransfer/DataFlavor;
5: StackMap locals:
StackMap stack:
aload 0
getfield javax.activation.DataHandler.dataContentHandler:Ljavax/activation/DataContentHandler;
ifnull 7
6: aload 0
getfield javax.activation.DataHandler.dataContentHandler:Ljavax/activation/DataContentHandler;
areturn
7: StackMap locals:
StackMap stack:
aload 0
invokevirtual javax.activation.DataHandler.getBaseType:()Ljava/lang/String;
astore 1
start local 1 8: aload 0
getfield javax.activation.DataHandler.factoryDCH:Ljavax/activation/DataContentHandler;
ifnonnull 10
getstatic javax.activation.DataHandler.factory:Ljavax/activation/DataContentHandlerFactory;
ifnull 10
9: aload 0
getstatic javax.activation.DataHandler.factory:Ljavax/activation/DataContentHandlerFactory;
aload 1
invokeinterface javax.activation.DataContentHandlerFactory.createDataContentHandler:(Ljava/lang/String;)Ljavax/activation/DataContentHandler;
putfield javax.activation.DataHandler.factoryDCH:Ljavax/activation/DataContentHandler;
10: StackMap locals: java.lang.String
StackMap stack:
aload 0
getfield javax.activation.DataHandler.factoryDCH:Ljavax/activation/DataContentHandler;
ifnull 12
11: aload 0
aload 0
getfield javax.activation.DataHandler.factoryDCH:Ljavax/activation/DataContentHandler;
putfield javax.activation.DataHandler.dataContentHandler:Ljavax/activation/DataContentHandler;
12: StackMap locals:
StackMap stack:
aload 0
getfield javax.activation.DataHandler.dataContentHandler:Ljavax/activation/DataContentHandler;
ifnonnull 21
13: aload 0
getfield javax.activation.DataHandler.dataSource:Ljavax/activation/DataSource;
ifnull 18
14: aload 0
aload 0
invokevirtual javax.activation.DataHandler.getCommandMap:()Ljavax/activation/CommandMap;
15: aload 1
aload 0
getfield javax.activation.DataHandler.dataSource:Ljavax/activation/DataSource;
invokevirtual javax.activation.CommandMap.createDataContentHandler:(Ljava/lang/String;Ljavax/activation/DataSource;)Ljavax/activation/DataContentHandler;
16: putfield javax.activation.DataHandler.dataContentHandler:Ljavax/activation/DataContentHandler;
17: goto 21
18: StackMap locals:
StackMap stack:
aload 0
aload 0
invokevirtual javax.activation.DataHandler.getCommandMap:()Ljavax/activation/CommandMap;
19: aload 1
invokevirtual javax.activation.CommandMap.createDataContentHandler:(Ljava/lang/String;)Ljavax/activation/DataContentHandler;
20: putfield javax.activation.DataHandler.dataContentHandler:Ljavax/activation/DataContentHandler;
21: StackMap locals:
StackMap stack:
aload 0
getfield javax.activation.DataHandler.dataSource:Ljavax/activation/DataSource;
ifnull 27
22: aload 0
new javax.activation.DataSourceDataContentHandler
dup
23: aload 0
getfield javax.activation.DataHandler.dataContentHandler:Ljavax/activation/DataContentHandler;
24: aload 0
getfield javax.activation.DataHandler.dataSource:Ljavax/activation/DataSource;
invokespecial javax.activation.DataSourceDataContentHandler.<init>:(Ljavax/activation/DataContentHandler;Ljavax/activation/DataSource;)V
25: putfield javax.activation.DataHandler.dataContentHandler:Ljavax/activation/DataContentHandler;
26: goto 32
27: StackMap locals:
StackMap stack:
aload 0
new javax.activation.ObjectDataContentHandler
dup
28: aload 0
getfield javax.activation.DataHandler.dataContentHandler:Ljavax/activation/DataContentHandler;
29: aload 0
getfield javax.activation.DataHandler.object:Ljava/lang/Object;
30: aload 0
getfield javax.activation.DataHandler.objectMimeType:Ljava/lang/String;
invokespecial javax.activation.ObjectDataContentHandler.<init>:(Ljavax/activation/DataContentHandler;Ljava/lang/Object;Ljava/lang/String;)V
31: putfield javax.activation.DataHandler.dataContentHandler:Ljavax/activation/DataContentHandler;
32: StackMap locals:
StackMap stack:
aload 0
getfield javax.activation.DataHandler.dataContentHandler:Ljavax/activation/DataContentHandler;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 33 0 this Ljavax/activation/DataHandler;
8 33 1 simpleMT Ljava/lang/String;
private synchronized java.lang.String getBaseType();
descriptor: ()Ljava/lang/String;
flags: (0x0022) ACC_PRIVATE, ACC_SYNCHRONIZED
Code:
stack=3, locals=3, args_size=1
start local 0 0: aload 0
getfield javax.activation.DataHandler.shortType:Ljava/lang/String;
ifnonnull 7
1: aload 0
invokevirtual javax.activation.DataHandler.getContentType:()Ljava/lang/String;
astore 1
start local 1 2: new javax.activation.MimeType
dup
aload 1
invokespecial javax.activation.MimeType.<init>:(Ljava/lang/String;)V
astore 2
start local 2 3: aload 0
aload 2
invokevirtual javax.activation.MimeType.getBaseType:()Ljava/lang/String;
putfield javax.activation.DataHandler.shortType:Ljava/lang/String;
end local 2 4: goto 7
StackMap locals: javax.activation.DataHandler java.lang.String
StackMap stack: javax.activation.MimeTypeParseException
5: pop
6: aload 0
aload 1
putfield javax.activation.DataHandler.shortType:Ljava/lang/String;
end local 1 7: StackMap locals:
StackMap stack:
aload 0
getfield javax.activation.DataHandler.shortType:Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Ljavax/activation/DataHandler;
2 7 1 ct Ljava/lang/String;
3 4 2 mt Ljavax/activation/MimeType;
Exception table:
from to target type
2 4 5 Class javax.activation.MimeTypeParseException
public static synchronized void setDataContentHandlerFactory(javax.activation.DataContentHandlerFactory);
descriptor: (Ljavax/activation/DataContentHandlerFactory;)V
flags: (0x0029) ACC_PUBLIC, ACC_STATIC, ACC_SYNCHRONIZED
Code:
stack=3, locals=3, args_size=1
start local 0 0: getstatic javax.activation.DataHandler.factory:Ljavax/activation/DataContentHandlerFactory;
ifnull 2
1: new java.lang.Error
dup
ldc "DataContentHandlerFactory already defined"
invokespecial java.lang.Error.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
invokestatic java.lang.System.getSecurityManager:()Ljava/lang/SecurityManager;
astore 1
start local 1 3: aload 1
ifnull 11
4: aload 1
invokevirtual java.lang.SecurityManager.checkSetFactory:()V
5: goto 11
StackMap locals: javax.activation.DataContentHandlerFactory java.lang.SecurityManager
StackMap stack: java.lang.SecurityException
6: astore 2
start local 2 7: ldc Ljavax/activation/DataHandler;
invokevirtual java.lang.Class.getClassLoader:()Ljava/lang/ClassLoader;
8: aload 0
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
invokevirtual java.lang.Class.getClassLoader:()Ljava/lang/ClassLoader;
9: if_acmpeq 11
10: aload 2
athrow
end local 2 11: StackMap locals:
StackMap stack:
aload 0
putstatic javax.activation.DataHandler.factory:Ljavax/activation/DataContentHandlerFactory;
12: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 newFactory Ljavax/activation/DataContentHandlerFactory;
3 13 1 security Ljava/lang/SecurityManager;
7 11 2 ex Ljava/lang/SecurityException;
Exception table:
from to target type
4 5 6 Class java.lang.SecurityException
MethodParameters:
Name Flags
newFactory
}
SourceFile: "DataHandler.java"
NestMembers:
javax.activation.DataHandler$1
InnerClasses:
javax.activation.DataHandler$1