class javax.activation.DataSourceDataContentHandler implements javax.activation.DataContentHandler
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: javax.activation.DataSourceDataContentHandler
super_class: java.lang.Object
{
private javax.activation.DataSource ds;
descriptor: Ljavax/activation/DataSource;
flags: (0x0002) ACC_PRIVATE
private java.awt.datatransfer.DataFlavor[] transferFlavors;
descriptor: [Ljava/awt/datatransfer/DataFlavor;
flags: (0x0002) ACC_PRIVATE
private javax.activation.DataContentHandler dch;
descriptor: Ljavax/activation/DataContentHandler;
flags: (0x0002) ACC_PRIVATE
public void <init>(javax.activation.DataContentHandler, javax.activation.DataSource);
descriptor: (Ljavax/activation/DataContentHandler;Ljavax/activation/DataSource;)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.DataSourceDataContentHandler.ds:Ljavax/activation/DataSource;
2: aload 0
aconst_null
putfield javax.activation.DataSourceDataContentHandler.transferFlavors:[Ljava/awt/datatransfer/DataFlavor;
3: aload 0
aconst_null
putfield javax.activation.DataSourceDataContentHandler.dch:Ljavax/activation/DataContentHandler;
4: aload 0
aload 2
putfield javax.activation.DataSourceDataContentHandler.ds:Ljavax/activation/DataSource;
5: aload 0
aload 1
putfield javax.activation.DataSourceDataContentHandler.dch:Ljavax/activation/DataContentHandler;
6: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Ljavax/activation/DataSourceDataContentHandler;
0 7 1 dch Ljavax/activation/DataContentHandler;
0 7 2 ds Ljavax/activation/DataSource;
MethodParameters:
Name Flags
dch
ds
public java.awt.datatransfer.DataFlavor[] getTransferDataFlavors();
descriptor: ()[Ljava/awt/datatransfer/DataFlavor;
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=1, args_size=1
start local 0 0: aload 0
getfield javax.activation.DataSourceDataContentHandler.transferFlavors:[Ljava/awt/datatransfer/DataFlavor;
ifnonnull 10
1: aload 0
getfield javax.activation.DataSourceDataContentHandler.dch:Ljavax/activation/DataContentHandler;
ifnull 4
2: aload 0
aload 0
getfield javax.activation.DataSourceDataContentHandler.dch:Ljavax/activation/DataContentHandler;
invokeinterface javax.activation.DataContentHandler.getTransferDataFlavors:()[Ljava/awt/datatransfer/DataFlavor;
putfield javax.activation.DataSourceDataContentHandler.transferFlavors:[Ljava/awt/datatransfer/DataFlavor;
3: goto 10
4: StackMap locals:
StackMap stack:
aload 0
iconst_1
anewarray java.awt.datatransfer.DataFlavor
putfield javax.activation.DataSourceDataContentHandler.transferFlavors:[Ljava/awt/datatransfer/DataFlavor;
5: aload 0
getfield javax.activation.DataSourceDataContentHandler.transferFlavors:[Ljava/awt/datatransfer/DataFlavor;
iconst_0
6: new javax.activation.ActivationDataFlavor
dup
aload 0
getfield javax.activation.DataSourceDataContentHandler.ds:Ljavax/activation/DataSource;
invokeinterface javax.activation.DataSource.getContentType:()Ljava/lang/String;
7: aload 0
getfield javax.activation.DataSourceDataContentHandler.ds:Ljavax/activation/DataSource;
invokeinterface javax.activation.DataSource.getContentType:()Ljava/lang/String;
8: invokespecial javax.activation.ActivationDataFlavor.<init>:(Ljava/lang/String;Ljava/lang/String;)V
9: aastore
10: StackMap locals:
StackMap stack:
aload 0
getfield javax.activation.DataSourceDataContentHandler.transferFlavors:[Ljava/awt/datatransfer/DataFlavor;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Ljavax/activation/DataSourceDataContentHandler;
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.DataSourceDataContentHandler.dch:Ljavax/activation/DataContentHandler;
ifnull 2
1: aload 0
getfield javax.activation.DataSourceDataContentHandler.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.DataSourceDataContentHandler.getTransferDataFlavors:()[Ljava/awt/datatransfer/DataFlavor;
iconst_0
aaload
invokevirtual java.awt.datatransfer.DataFlavor.equals:(Ljava/awt/datatransfer/DataFlavor;)Z
ifeq 4
3: aload 2
invokeinterface javax.activation.DataSource.getInputStream:()Ljava/io/InputStream;
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/DataSourceDataContentHandler;
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=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield javax.activation.DataSourceDataContentHandler.dch:Ljavax/activation/DataContentHandler;
ifnull 2
1: aload 0
getfield javax.activation.DataSourceDataContentHandler.dch:Ljavax/activation/DataContentHandler;
aload 1
invokeinterface javax.activation.DataContentHandler.getContent:(Ljavax/activation/DataSource;)Ljava/lang/Object;
areturn
2: StackMap locals:
StackMap stack:
aload 1
invokeinterface javax.activation.DataSource.getInputStream:()Ljava/io/InputStream;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljavax/activation/DataSourceDataContentHandler;
0 3 1 ds Ljavax/activation/DataSource;
Exceptions:
throws java.io.IOException
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=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
getfield javax.activation.DataSourceDataContentHandler.dch:Ljavax/activation/DataContentHandler;
ifnull 2
1: aload 0
getfield javax.activation.DataSourceDataContentHandler.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 5
2: StackMap locals:
StackMap stack:
new javax.activation.UnsupportedDataTypeException
dup
3: new java.lang.StringBuilder
dup
ldc "no DCH for content type "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
getfield javax.activation.DataSourceDataContentHandler.ds:Ljavax/activation/DataSource;
invokeinterface javax.activation.DataSource.getContentType:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
4: invokespecial javax.activation.UnsupportedDataTypeException.<init>:(Ljava/lang/String;)V
athrow
5: StackMap locals:
StackMap stack:
return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Ljavax/activation/DataSourceDataContentHandler;
0 6 1 obj Ljava/lang/Object;
0 6 2 mimeType Ljava/lang/String;
0 6 3 os Ljava/io/OutputStream;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
obj
mimeType
os
}
SourceFile: "DataHandler.java"