public class com.sun.xml.internal.messaging.saaj.soap.StringDataContentHandler 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.StringDataContentHandler
super_class: java.lang.Object
{
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/lang/String;
2: ldc "text/plain"
3: ldc "Text String"
4: invokespecial javax.activation.ActivationDataFlavor.<init>:(Ljava/lang/Class;Ljava/lang/String;Ljava/lang/String;)V
putstatic com.sun.xml.internal.messaging.saaj.soap.StringDataContentHandler.myDF:Ljavax/activation/ActivationDataFlavor;
5: 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.lang.Object.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/xml/internal/messaging/saaj/soap/StringDataContentHandler;
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.StringDataContentHandler.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/StringDataContentHandler;
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/StringDataContentHandler;
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/StringDataContentHandler;
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=11, 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: aload 0
aload 1
invokeinterface javax.activation.DataSource.getContentType:()Ljava/lang/String;
invokevirtual com.sun.xml.internal.messaging.saaj.soap.StringDataContentHandler.getCharset:(Ljava/lang/String;)Ljava/lang/String;
astore 2
3: new java.io.InputStreamReader
dup
aload 1
invokeinterface javax.activation.DataSource.getInputStream:()Ljava/io/InputStream;
aload 2
invokespecial java.io.InputStreamReader.<init>:(Ljava/io/InputStream;Ljava/lang/String;)V
astore 3
4: goto 7
StackMap locals: com.sun.xml.internal.messaging.saaj.soap.StringDataContentHandler javax.activation.DataSource java.lang.String java.io.InputStreamReader
StackMap stack: java.lang.IllegalArgumentException
5: pop
6: new java.io.UnsupportedEncodingException
dup
aload 2
invokespecial java.io.UnsupportedEncodingException.<init>:(Ljava/lang/String;)V
athrow
7: StackMap locals:
StackMap stack:
iconst_0
istore 4
start local 4 8: sipush 1024
newarray 5
astore 6
start local 6 9: goto 19
start local 5 10: StackMap locals: int int char[]
StackMap stack:
iload 4
iload 5
iadd
istore 4
11: iload 4
aload 6
arraylength
if_icmplt 19
12: aload 6
arraylength
istore 7
start local 7 13: iload 7
ldc 262144
if_icmpge 15
14: iload 7
iload 7
iadd
istore 7
goto 16
15: StackMap locals: int
StackMap stack:
iload 7
ldc 262144
iadd
istore 7
16: StackMap locals:
StackMap stack:
iload 7
newarray 5
astore 8
start local 8 17: aload 6
iconst_0
aload 8
iconst_0
iload 4
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
18: aload 8
astore 6
end local 8 end local 7 end local 5 19: StackMap locals: com.sun.xml.internal.messaging.saaj.soap.StringDataContentHandler javax.activation.DataSource java.lang.String java.io.InputStreamReader int top char[]
StackMap stack:
aload 3
aload 6
iload 4
aload 6
arraylength
iload 4
isub
invokevirtual java.io.InputStreamReader.read:([CII)I
dup
istore 5
start local 5 20: iconst_m1
if_icmpne 10
21: new java.lang.String
dup
aload 6
iconst_0
iload 4
invokespecial java.lang.String.<init>:([CII)V
astore 10
22: aload 3
invokevirtual java.io.InputStreamReader.close:()V
23: goto 25
StackMap locals: com.sun.xml.internal.messaging.saaj.soap.StringDataContentHandler javax.activation.DataSource java.lang.String java.io.InputStreamReader int int char[] top top top java.lang.Object
StackMap stack: java.io.IOException
24: pop
25: StackMap locals:
StackMap stack:
aload 10
areturn
end local 6 end local 5 end local 4 26: StackMap locals: com.sun.xml.internal.messaging.saaj.soap.StringDataContentHandler javax.activation.DataSource java.lang.String java.io.InputStreamReader
StackMap stack: java.lang.Throwable
astore 9
27: aload 3
invokevirtual java.io.InputStreamReader.close:()V
28: goto 30
StackMap locals: com.sun.xml.internal.messaging.saaj.soap.StringDataContentHandler javax.activation.DataSource java.lang.String java.io.InputStreamReader top top top top top java.lang.Throwable
StackMap stack: java.io.IOException
29: pop
30: StackMap locals:
StackMap stack:
aload 9
athrow
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 31 0 this Lcom/sun/xml/internal/messaging/saaj/soap/StringDataContentHandler;
0 31 1 ds Ljavax/activation/DataSource;
1 31 2 enc Ljava/lang/String;
2 31 3 is Ljava/io/InputStreamReader;
8 26 4 pos I
10 19 5 count I
20 26 5 count I
9 26 6 buf [C
13 19 7 size I
17 19 8 tbuf [C
Exception table:
from to target type
2 4 5 Class java.lang.IllegalArgumentException
22 23 24 Class java.io.IOException
7 22 26 any
27 28 29 Class java.io.IOException
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=7, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 1
instanceof java.lang.String
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.StringDataContentHandler.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 String 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:
aconst_null
astore 4
start local 4 6: aconst_null
astore 5
start local 5 7: aload 0
aload 2
invokevirtual com.sun.xml.internal.messaging.saaj.soap.StringDataContentHandler.getCharset:(Ljava/lang/String;)Ljava/lang/String;
astore 4
8: new java.io.OutputStreamWriter
dup
aload 3
aload 4
invokespecial java.io.OutputStreamWriter.<init>:(Ljava/io/OutputStream;Ljava/lang/String;)V
astore 5
9: goto 12
StackMap locals: com.sun.xml.internal.messaging.saaj.soap.StringDataContentHandler java.lang.Object java.lang.String java.io.OutputStream java.lang.String java.io.OutputStreamWriter
StackMap stack: java.lang.IllegalArgumentException
10: pop
11: new java.io.UnsupportedEncodingException
dup
aload 4
invokespecial java.io.UnsupportedEncodingException.<init>:(Ljava/lang/String;)V
athrow
12: StackMap locals:
StackMap stack:
aload 1
checkcast java.lang.String
astore 6
start local 6 13: aload 5
aload 6
iconst_0
aload 6
invokevirtual java.lang.String.length:()I
invokevirtual java.io.OutputStreamWriter.write:(Ljava/lang/String;II)V
14: aload 5
invokevirtual java.io.OutputStreamWriter.flush:()V
15: return
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 16 0 this Lcom/sun/xml/internal/messaging/saaj/soap/StringDataContentHandler;
0 16 1 obj Ljava/lang/Object;
0 16 2 type Ljava/lang/String;
0 16 3 os Ljava/io/OutputStream;
6 16 4 enc Ljava/lang/String;
7 16 5 osw Ljava/io/OutputStreamWriter;
13 16 6 s Ljava/lang/String;
Exception table:
from to target type
7 9 10 Class java.lang.IllegalArgumentException
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
obj
type
os
private java.lang.String getCharset(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=4, args_size=2
start local 0 start local 1 0: new com.sun.xml.internal.messaging.saaj.packaging.mime.internet.ContentType
dup
aload 1
invokespecial com.sun.xml.internal.messaging.saaj.packaging.mime.internet.ContentType.<init>:(Ljava/lang/String;)V
astore 2
start local 2 1: aload 2
ldc "charset"
invokevirtual com.sun.xml.internal.messaging.saaj.packaging.mime.internet.ContentType.getParameter:(Ljava/lang/String;)Ljava/lang/String;
astore 3
start local 3 2: aload 3
ifnonnull 4
3: ldc "us-ascii"
astore 3
4: StackMap locals: com.sun.xml.internal.messaging.saaj.packaging.mime.internet.ContentType java.lang.String
StackMap stack:
aload 3
invokestatic com.sun.xml.internal.messaging.saaj.packaging.mime.internet.MimeUtility.javaCharset:(Ljava/lang/String;)Ljava/lang/String;
5: areturn
end local 3 end local 2 6: StackMap locals: com.sun.xml.internal.messaging.saaj.soap.StringDataContentHandler java.lang.String
StackMap stack: java.lang.Exception
pop
7: aconst_null
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lcom/sun/xml/internal/messaging/saaj/soap/StringDataContentHandler;
0 8 1 type Ljava/lang/String;
1 6 2 ct Lcom/sun/xml/internal/messaging/saaj/packaging/mime/internet/ContentType;
2 6 3 charset Ljava/lang/String;
Exception table:
from to target type
0 5 6 Class java.lang.Exception
MethodParameters:
Name Flags
type
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 StringDataContentHandler 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.StringDataContentHandler.getTransferDataFlavors:()[LDataFlavor;
checkcast java.awt.datatransfer.DataFlavor[]
areturn
LocalVariableTable:
Start End Slot Name Signature
}
SourceFile: "StringDataContentHandler.java"