public class com.sun.xml.internal.messaging.saaj.soap.GifDataContentHandler extends java.awt.Component implements javax.activation.DataContentHandler
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: com.sun.xml.internal.messaging.saaj.soap.GifDataContentHandler
super_class: java.awt.Component
{
private static javax.activation.ActivationDataFlavor myDF;
descriptor: Ljavax/activation/ActivationDataFlavor;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=5, locals=0, args_size=0
0: new javax.activation.ActivationDataFlavor
dup
1: ldc Ljava/awt/Image;
2: ldc "image/gif"
3: ldc "GIF Image"
4: invokespecial javax.activation.ActivationDataFlavor.<init>:(Ljava/lang/Class;Ljava/lang/String;Ljava/lang/String;)V
5: putstatic com.sun.xml.internal.messaging.saaj.soap.GifDataContentHandler.myDF:Ljavax/activation/ActivationDataFlavor;
6: return
LocalVariableTable:
Start End Slot Name Signature
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.awt.Component.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/xml/internal/messaging/saaj/soap/GifDataContentHandler;
protected javax.activation.ActivationDataFlavor getDF();
descriptor: ()Ljavax/activation/ActivationDataFlavor;
flags: (0x0004) ACC_PROTECTED
Code:
stack=1, locals=1, args_size=1
start local 0 0: getstatic com.sun.xml.internal.messaging.saaj.soap.GifDataContentHandler.myDF:Ljavax/activation/ActivationDataFlavor;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/xml/internal/messaging/saaj/soap/GifDataContentHandler;
public DataFlavor[] getTransferDataFlavors();
descriptor: ()[LDataFlavor;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new java.lang.Error
dup
ldc "Unresolved compilation problems: \n\tDataFlavor cannot be resolved to a type\n\tDataFlavor cannot be resolved to a type\n\tType mismatch: cannot convert from ActivationDataFlavor to DataFlavor\n"
invokespecial java.lang.Error.<init>:(Ljava/lang/String;)V
athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/xml/internal/messaging/saaj/soap/GifDataContentHandler;
public java.lang.Object getTransferData(DataFlavor, javax.activation.DataSource);
descriptor: (LDataFlavor;Ljavax/activation/DataSource;)Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=3
start local 0 0: new java.lang.Error
dup
ldc "Unresolved compilation problem: \n\tDataFlavor cannot be resolved to a type\n"
invokespecial java.lang.Error.<init>:(Ljava/lang/String;)V
athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/xml/internal/messaging/saaj/soap/GifDataContentHandler;
Exceptions:
throws 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=5, locals=8, args_size=2
start local 0 start local 1 0: aload 1
invokeinterface javax.activation.DataSource.getInputStream:()Ljava/io/InputStream;
astore 2
start local 2 1: iconst_0
istore 3
start local 3 2: sipush 1024
newarray 8
astore 5
start local 5 3: goto 13
start local 4 4: StackMap locals: com.sun.xml.internal.messaging.saaj.soap.GifDataContentHandler javax.activation.DataSource java.io.InputStream int int byte[]
StackMap stack:
iload 3
iload 4
iadd
istore 3
5: iload 3
aload 5
arraylength
if_icmplt 13
6: aload 5
arraylength
istore 6
start local 6 7: iload 6
ldc 262144
if_icmpge 9
8: iload 6
iload 6
iadd
istore 6
goto 10
9: StackMap locals: int
StackMap stack:
iload 6
ldc 262144
iadd
istore 6
10: StackMap locals:
StackMap stack:
iload 6
newarray 8
astore 7
start local 7 11: aload 5
iconst_0
aload 7
iconst_0
iload 3
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
12: aload 7
astore 5
end local 7 end local 6 end local 4 13: StackMap locals: com.sun.xml.internal.messaging.saaj.soap.GifDataContentHandler javax.activation.DataSource java.io.InputStream int top byte[]
StackMap stack:
aload 2
aload 5
iload 3
aload 5
arraylength
iload 3
isub
invokevirtual java.io.InputStream.read:([BII)I
dup
istore 4
start local 4 14: iconst_m1
if_icmpne 4
15: invokestatic java.awt.Toolkit.getDefaultToolkit:()Ljava/awt/Toolkit;
astore 6
start local 6 16: aload 6
aload 5
iconst_0
iload 3
invokevirtual java.awt.Toolkit.createImage:([BII)Ljava/awt/Image;
areturn
end local 6 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 17 0 this Lcom/sun/xml/internal/messaging/saaj/soap/GifDataContentHandler;
0 17 1 ds Ljavax/activation/DataSource;
1 17 2 is Ljava/io/InputStream;
2 17 3 pos I
4 13 4 count I
14 17 4 count I
3 17 5 buf [B
7 13 6 size I
11 13 7 tbuf [B
16 17 6 tk Ljava/awt/Toolkit;
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 1
ifnull 5
aload 1
instanceof java.awt.Image
ifne 5
1: new java.io.IOException
dup
new java.lang.StringBuilder
dup
ldc "\""
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
invokevirtual com.sun.xml.internal.messaging.saaj.soap.GifDataContentHandler.getDF:()Ljavax/activation/ActivationDataFlavor;
invokevirtual javax.activation.ActivationDataFlavor.getMimeType:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
2: ldc "\" DataContentHandler requires Image object, "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
3: ldc "was given object of type "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 1
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
invokevirtual java.lang.Class.toString:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
4: invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
athrow
5: StackMap locals:
StackMap stack:
new java.io.IOException
dup
new java.lang.StringBuilder
dup
aload 0
invokevirtual com.sun.xml.internal.messaging.saaj.soap.GifDataContentHandler.getDF:()Ljavax/activation/ActivationDataFlavor;
invokevirtual javax.activation.ActivationDataFlavor.getMimeType:()Ljava/lang/String;
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc " encoding not supported"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
athrow
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lcom/sun/xml/internal/messaging/saaj/soap/GifDataContentHandler;
0 6 1 obj Ljava/lang/Object;
0 6 2 type Ljava/lang/String;
0 6 3 os Ljava/io/OutputStream;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
obj
type
os
public java.lang.Object getTransferData(java.awt.datatransfer.DataFlavor, javax.activation.DataSource);
descriptor: (Ljava/awt/datatransfer/DataFlavor;Ljavax/activation/DataSource;)Ljava/lang/Object;
flags: (0x1001) ACC_PUBLIC, ACC_SYNTHETIC
Code:
stack=3, locals=3, args_size=3
0: new java.lang.Error
dup
ldc "Unresolved compilation problem: \n\tThe type GifDataContentHandler must implement the inherited abstract method DataContentHandler.getTransferData(DataFlavor, DataSource)\n"
invokespecial java.lang.Error.<init>:(Ljava/lang/String;)V
athrow
LocalVariableTable:
Start End Slot Name Signature
Exceptions:
throws java.awt.datatransfer.UnsupportedFlavorException, java.io.IOException
MethodParameters:
Name Flags
public java.awt.datatransfer.DataFlavor[] getTransferDataFlavors();
descriptor: ()[Ljava/awt/datatransfer/DataFlavor;
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=1, locals=1, args_size=1
0: aload 0
invokevirtual com.sun.xml.internal.messaging.saaj.soap.GifDataContentHandler.getTransferDataFlavors:()[LDataFlavor;
checkcast java.awt.datatransfer.DataFlavor[]
areturn
LocalVariableTable:
Start End Slot Name Signature
}
SourceFile: "GifDataContentHandler.java"