class javax.activation.ObjectDataContentHandler implements javax.activation.DataContentHandler
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: javax.activation.ObjectDataContentHandler
super_class: java.lang.Object
{
private java.awt.datatransfer.DataFlavor[] transferFlavors;
descriptor: [Ljava/awt/datatransfer/DataFlavor;
flags: (0x0002) ACC_PRIVATE
private java.lang.Object obj;
descriptor: Ljava/lang/Object;
flags: (0x0002) ACC_PRIVATE
private java.lang.String mimeType;
descriptor: Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
private javax.activation.DataContentHandler dch;
descriptor: Ljavax/activation/DataContentHandler;
flags: (0x0002) ACC_PRIVATE
public void <init>(javax.activation.DataContentHandler, java.lang.Object, java.lang.String);
descriptor: (Ljavax/activation/DataContentHandler;Ljava/lang/Object;Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aconst_null
putfield javax.activation.ObjectDataContentHandler.transferFlavors:[Ljava/awt/datatransfer/DataFlavor;
2: aload 0
aconst_null
putfield javax.activation.ObjectDataContentHandler.dch:Ljavax/activation/DataContentHandler;
3: aload 0
aload 2
putfield javax.activation.ObjectDataContentHandler.obj:Ljava/lang/Object;
4: aload 0
aload 3
putfield javax.activation.ObjectDataContentHandler.mimeType:Ljava/lang/String;
5: aload 0
aload 1
putfield javax.activation.ObjectDataContentHandler.dch:Ljavax/activation/DataContentHandler;
6: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Ljavax/activation/ObjectDataContentHandler;
0 7 1 dch Ljavax/activation/DataContentHandler;
0 7 2 obj Ljava/lang/Object;
0 7 3 mimeType Ljava/lang/String;
MethodParameters:
Name Flags
dch
obj
mimeType
public javax.activation.DataContentHandler getDCH();
descriptor: ()Ljavax/activation/DataContentHandler;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield javax.activation.ObjectDataContentHandler.dch:Ljavax/activation/DataContentHandler;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/activation/ObjectDataContentHandler;
public synchronized java.awt.datatransfer.DataFlavor[] getTransferDataFlavors();
descriptor: ()[Ljava/awt/datatransfer/DataFlavor;
flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
Code:
stack=7, locals=1, args_size=1
start local 0 0: aload 0
getfield javax.activation.ObjectDataContentHandler.transferFlavors:[Ljava/awt/datatransfer/DataFlavor;
ifnonnull 8
1: aload 0
getfield javax.activation.ObjectDataContentHandler.dch:Ljavax/activation/DataContentHandler;
ifnull 4
2: aload 0
aload 0
getfield javax.activation.ObjectDataContentHandler.dch:Ljavax/activation/DataContentHandler;
invokeinterface javax.activation.DataContentHandler.getTransferDataFlavors:()[Ljava/awt/datatransfer/DataFlavor;
putfield javax.activation.ObjectDataContentHandler.transferFlavors:[Ljava/awt/datatransfer/DataFlavor;
3: goto 8
4: StackMap locals:
StackMap stack:
aload 0
iconst_1
anewarray java.awt.datatransfer.DataFlavor
putfield javax.activation.ObjectDataContentHandler.transferFlavors:[Ljava/awt/datatransfer/DataFlavor;
5: aload 0
getfield javax.activation.ObjectDataContentHandler.transferFlavors:[Ljava/awt/datatransfer/DataFlavor;
iconst_0
new javax.activation.ActivationDataFlavor
dup
aload 0
getfield javax.activation.ObjectDataContentHandler.obj:Ljava/lang/Object;
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
6: aload 0
getfield javax.activation.ObjectDataContentHandler.mimeType:Ljava/lang/String;
aload 0
getfield javax.activation.ObjectDataContentHandler.mimeType:Ljava/lang/String;
invokespecial javax.activation.ActivationDataFlavor.<init>:(Ljava/lang/Class;Ljava/lang/String;Ljava/lang/String;)V
7: aastore
8: StackMap locals:
StackMap stack:
aload 0
getfield javax.activation.ObjectDataContentHandler.transferFlavors:[Ljava/awt/datatransfer/DataFlavor;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Ljavax/activation/ObjectDataContentHandler;
public java.lang.Object getTransferData(java.awt.datatransfer.DataFlavor, javax.activation.DataSource);
descriptor: (Ljava/awt/datatransfer/DataFlavor;Ljavax/activation/DataSource;)Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield javax.activation.ObjectDataContentHandler.dch:Ljavax/activation/DataContentHandler;
ifnull 2
1: aload 0
getfield javax.activation.ObjectDataContentHandler.dch:Ljavax/activation/DataContentHandler;
aload 1
aload 2
invokeinterface javax.activation.DataContentHandler.getTransferData:(Ljava/awt/datatransfer/DataFlavor;Ljavax/activation/DataSource;)Ljava/lang/Object;
areturn
2: StackMap locals:
StackMap stack:
aload 1
aload 0
invokevirtual javax.activation.ObjectDataContentHandler.getTransferDataFlavors:()[Ljava/awt/datatransfer/DataFlavor;
iconst_0
aaload
invokevirtual java.awt.datatransfer.DataFlavor.equals:(Ljava/awt/datatransfer/DataFlavor;)Z
ifeq 4
3: aload 0
getfield javax.activation.ObjectDataContentHandler.obj:Ljava/lang/Object;
areturn
4: StackMap locals:
StackMap stack:
new java.awt.datatransfer.UnsupportedFlavorException
dup
aload 1
invokespecial java.awt.datatransfer.UnsupportedFlavorException.<init>:(Ljava/awt/datatransfer/DataFlavor;)V
athrow
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Ljavax/activation/ObjectDataContentHandler;
0 5 1 df Ljava/awt/datatransfer/DataFlavor;
0 5 2 ds Ljavax/activation/DataSource;
Exceptions:
throws java.awt.datatransfer.UnsupportedFlavorException, java.io.IOException
MethodParameters:
Name Flags
df
ds
public java.lang.Object getContent(javax.activation.DataSource);
descriptor: (Ljavax/activation/DataSource;)Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield javax.activation.ObjectDataContentHandler.obj:Ljava/lang/Object;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/activation/ObjectDataContentHandler;
0 1 1 ds Ljavax/activation/DataSource;
MethodParameters:
Name Flags
ds
public void writeTo(java.lang.Object, java.lang.String, java.io.OutputStream);
descriptor: (Ljava/lang/Object;Ljava/lang/String;Ljava/io/OutputStream;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=5, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
getfield javax.activation.ObjectDataContentHandler.dch:Ljavax/activation/DataContentHandler;
ifnull 2
1: aload 0
getfield javax.activation.ObjectDataContentHandler.dch:Ljavax/activation/DataContentHandler;
aload 1
aload 2
aload 3
invokeinterface javax.activation.DataContentHandler.writeTo:(Ljava/lang/Object;Ljava/lang/String;Ljava/io/OutputStream;)V
goto 11
2: StackMap locals:
StackMap stack:
aload 1
instanceof byte[]
ifeq 4
3: aload 3
aload 1
checkcast byte[]
invokevirtual java.io.OutputStream.write:([B)V
goto 11
4: StackMap locals:
StackMap stack:
aload 1
instanceof java.lang.String
ifeq 9
5: new java.io.OutputStreamWriter
dup
aload 3
invokespecial java.io.OutputStreamWriter.<init>:(Ljava/io/OutputStream;)V
astore 4
start local 4 6: aload 4
aload 1
checkcast java.lang.String
invokevirtual java.io.OutputStreamWriter.write:(Ljava/lang/String;)V
7: aload 4
invokevirtual java.io.OutputStreamWriter.flush:()V
end local 4 8: goto 11
StackMap locals:
StackMap stack:
9: new javax.activation.UnsupportedDataTypeException
dup
10: new java.lang.StringBuilder
dup
ldc "no object DCH for MIME type "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
getfield javax.activation.ObjectDataContentHandler.mimeType:Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial javax.activation.UnsupportedDataTypeException.<init>:(Ljava/lang/String;)V
athrow
11: StackMap locals:
StackMap stack:
return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Ljavax/activation/ObjectDataContentHandler;
0 12 1 obj Ljava/lang/Object;
0 12 2 mimeType Ljava/lang/String;
0 12 3 os Ljava/io/OutputStream;
6 8 4 osw Ljava/io/OutputStreamWriter;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
obj
mimeType
os
}
SourceFile: "DataHandler.java"