public class com.sun.xml.internal.ws.encoding.StringDataContentHandler implements javax.activation.DataContentHandler
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: com.sun.xml.internal.ws.encoding.StringDataContentHandler
super_class: java.lang.Object
{
private static final javax.activation.ActivationDataFlavor myDF;
descriptor: Ljavax/activation/ActivationDataFlavor;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
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;
ldc "text/plain"
ldc "Text String"
2: invokespecial javax.activation.ActivationDataFlavor.<init>:(Ljava/lang/Class;Ljava/lang/String;Ljava/lang/String;)V
putstatic com.sun.xml.internal.ws.encoding.StringDataContentHandler.myDF:Ljavax/activation/ActivationDataFlavor;
3: 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/ws/encoding/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.ws.encoding.StringDataContentHandler.myDF:Ljavax/activation/ActivationDataFlavor;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/xml/internal/ws/encoding/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/ws/encoding/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/ws/encoding/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: aload 0
aload 1
invokeinterface javax.activation.DataSource.getContentType:()Ljava/lang/String;
invokevirtual com.sun.xml.internal.ws.encoding.StringDataContentHandler.getCharset:(Ljava/lang/String;)Ljava/lang/String;
astore 2
2: 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
start local 3 3: goto 6
end local 3 StackMap locals: com.sun.xml.internal.ws.encoding.StringDataContentHandler javax.activation.DataSource java.lang.String
StackMap stack: java.lang.IllegalArgumentException
4: pop
5: new java.io.UnsupportedEncodingException
dup
aload 2
invokespecial java.io.UnsupportedEncodingException.<init>:(Ljava/lang/String;)V
athrow
start local 3 6: StackMap locals: java.io.InputStreamReader
StackMap stack:
iconst_0
istore 4
start local 4 7: sipush 1024
newarray 5
astore 6
start local 6 8: goto 18
start local 5 9: StackMap locals: int int char[]
StackMap stack:
iload 4
iload 5
iadd
istore 4
10: iload 4
aload 6
arraylength
if_icmplt 18
11: aload 6
arraylength
istore 7
start local 7 12: iload 7
ldc 262144
if_icmpge 14
13: iload 7
iload 7
iadd
istore 7
goto 15
14: StackMap locals: int
StackMap stack:
iload 7
ldc 262144
iadd
istore 7
15: StackMap locals:
StackMap stack:
iload 7
newarray 5
astore 8
start local 8 16: aload 6
iconst_0
aload 8
iconst_0
iload 4
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
17: aload 8
astore 6
end local 8 end local 7 end local 5 18: StackMap locals: com.sun.xml.internal.ws.encoding.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 19: iconst_m1
if_icmpne 9
20: new java.lang.String
dup
aload 6
iconst_0
iload 4
invokespecial java.lang.String.<init>:([CII)V
astore 10
21: aload 3
invokevirtual java.io.InputStreamReader.close:()V
22: goto 24
StackMap locals: com.sun.xml.internal.ws.encoding.StringDataContentHandler javax.activation.DataSource java.lang.String java.io.InputStreamReader int int char[] top top top java.lang.Object
StackMap stack: java.io.IOException
23: pop
24: StackMap locals:
StackMap stack:
aload 10
areturn
end local 6 end local 5 end local 4 25: StackMap locals: com.sun.xml.internal.ws.encoding.StringDataContentHandler javax.activation.DataSource java.lang.String java.io.InputStreamReader
StackMap stack: java.lang.Throwable
astore 9
26: aload 3
invokevirtual java.io.InputStreamReader.close:()V
27: goto 29
StackMap locals: com.sun.xml.internal.ws.encoding.StringDataContentHandler javax.activation.DataSource java.lang.String java.io.InputStreamReader top top top top top java.lang.Throwable
StackMap stack: java.io.IOException
28: pop
29: 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 30 0 this Lcom/sun/xml/internal/ws/encoding/StringDataContentHandler;
0 30 1 ds Ljavax/activation/DataSource;
1 30 2 enc Ljava/lang/String;
3 4 3 is Ljava/io/InputStreamReader;
6 30 3 is Ljava/io/InputStreamReader;
7 25 4 pos I
9 18 5 count I
19 25 5 count I
8 25 6 buf [C
12 18 7 size I
16 18 8 tbuf [C
Exception table:
from to target type
1 3 4 Class java.lang.IllegalArgumentException
21 22 23 Class java.io.IOException
6 21 25 any
26 27 28 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.ws.encoding.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: aload 0
aload 2
invokevirtual com.sun.xml.internal.ws.encoding.StringDataContentHandler.getCharset:(Ljava/lang/String;)Ljava/lang/String;
astore 4
7: new java.io.OutputStreamWriter
dup
aload 3
aload 4
invokespecial java.io.OutputStreamWriter.<init>:(Ljava/io/OutputStream;Ljava/lang/String;)V
astore 5
start local 5 8: goto 11
end local 5 StackMap locals: com.sun.xml.internal.ws.encoding.StringDataContentHandler java.lang.Object java.lang.String java.io.OutputStream java.lang.String
StackMap stack: java.lang.IllegalArgumentException
9: pop
10: new java.io.UnsupportedEncodingException
dup
aload 4
invokespecial java.io.UnsupportedEncodingException.<init>:(Ljava/lang/String;)V
athrow
start local 5 11: StackMap locals: java.io.OutputStreamWriter
StackMap stack:
aload 1
checkcast java.lang.String
astore 6
start local 6 12: aload 5
aload 6
iconst_0
aload 6
invokevirtual java.lang.String.length:()I
invokevirtual java.io.OutputStreamWriter.write:(Ljava/lang/String;II)V
13: aload 5
invokevirtual java.io.OutputStreamWriter.flush:()V
14: 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 15 0 this Lcom/sun/xml/internal/ws/encoding/StringDataContentHandler;
0 15 1 obj Ljava/lang/Object;
0 15 2 type Ljava/lang/String;
0 15 3 os Ljava/io/OutputStream;
6 15 4 enc Ljava/lang/String;
8 9 5 osw Ljava/io/OutputStreamWriter;
11 15 5 osw Ljava/io/OutputStreamWriter;
12 15 6 s Ljava/lang/String;
Exception table:
from to target type
6 8 9 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.ws.encoding.ContentType
dup
aload 1
invokespecial com.sun.xml.internal.ws.encoding.ContentType.<init>:(Ljava/lang/String;)V
astore 2
start local 2 1: aload 2
ldc "charset"
invokevirtual com.sun.xml.internal.ws.encoding.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.ws.encoding.ContentType java.lang.String
StackMap stack:
aload 3
invokestatic java.nio.charset.Charset.forName:(Ljava/lang/String;)Ljava/nio/charset/Charset;
invokevirtual java.nio.charset.Charset.name:()Ljava/lang/String;
5: areturn
end local 3 end local 2 6: StackMap locals: com.sun.xml.internal.ws.encoding.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/ws/encoding/StringDataContentHandler;
0 8 1 type Ljava/lang/String;
1 6 2 ct Lcom/sun/xml/internal/ws/encoding/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.ws.encoding.StringDataContentHandler.getTransferDataFlavors:()[LDataFlavor;
checkcast java.awt.datatransfer.DataFlavor[]
areturn
LocalVariableTable:
Start End Slot Name Signature
}
SourceFile: "StringDataContentHandler.java"