class com.sun.imageio.plugins.jpeg.COMMarkerSegment extends com.sun.imageio.plugins.jpeg.MarkerSegment
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: com.sun.imageio.plugins.jpeg.COMMarkerSegment
super_class: com.sun.imageio.plugins.jpeg.MarkerSegment
{
private static final java.lang.String ENCODING;
descriptor: Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: "ISO-8859-1"
void <init>(com.sun.imageio.plugins.jpeg.JPEGBuffer);
descriptor: (Lcom/sun/imageio/plugins/jpeg/JPEGBuffer;)V
flags: (0x0000)
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokespecial com.sun.imageio.plugins.jpeg.MarkerSegment.<init>:(Lcom/sun/imageio/plugins/jpeg/JPEGBuffer;)V
1: aload 0
aload 1
invokevirtual com.sun.imageio.plugins.jpeg.COMMarkerSegment.loadData:(Lcom/sun/imageio/plugins/jpeg/JPEGBuffer;)V
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/sun/imageio/plugins/jpeg/COMMarkerSegment;
0 3 1 buffer Lcom/sun/imageio/plugins/jpeg/JPEGBuffer;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
buffer
void <init>(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0000)
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
sipush 254
invokespecial com.sun.imageio.plugins.jpeg.MarkerSegment.<init>:(I)V
1: aload 0
aload 1
invokevirtual java.lang.String.getBytes:()[B
putfield com.sun.imageio.plugins.jpeg.COMMarkerSegment.data:[B
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/sun/imageio/plugins/jpeg/COMMarkerSegment;
0 3 1 comment Ljava/lang/String;
MethodParameters:
Name Flags
comment
void <init>(org.w3c.dom.Node);
descriptor: (Lorg/w3c/dom/Node;)V
flags: (0x0000)
Code:
stack=4, locals=3, args_size=2
start local 0 start local 1 0: aload 0
sipush 254
invokespecial com.sun.imageio.plugins.jpeg.MarkerSegment.<init>:(I)V
1: aload 1
instanceof javax.imageio.metadata.IIOMetadataNode
ifeq 4
2: aload 1
checkcast javax.imageio.metadata.IIOMetadataNode
astore 2
start local 2 3: aload 0
aload 2
invokevirtual javax.imageio.metadata.IIOMetadataNode.getUserObject:()Ljava/lang/Object;
checkcast byte[]
putfield com.sun.imageio.plugins.jpeg.COMMarkerSegment.data:[B
end local 2 4: StackMap locals: com.sun.imageio.plugins.jpeg.COMMarkerSegment org.w3c.dom.Node
StackMap stack:
aload 0
getfield com.sun.imageio.plugins.jpeg.COMMarkerSegment.data:[B
ifnonnull 11
5: aload 1
invokeinterface org.w3c.dom.Node.getAttributes:()Lorg/w3c/dom/NamedNodeMap;
ldc "comment"
invokeinterface org.w3c.dom.NamedNodeMap.getNamedItem:(Ljava/lang/String;)Lorg/w3c/dom/Node;
invokeinterface org.w3c.dom.Node.getNodeValue:()Ljava/lang/String;
6: astore 2
start local 2 7: aload 2
ifnull 10
8: aload 0
aload 2
invokevirtual java.lang.String.getBytes:()[B
putfield com.sun.imageio.plugins.jpeg.COMMarkerSegment.data:[B
9: goto 11
10: StackMap locals: java.lang.String
StackMap stack:
new javax.imageio.metadata.IIOInvalidTreeException
dup
ldc "Empty comment node!"
aload 1
invokespecial javax.imageio.metadata.IIOInvalidTreeException.<init>:(Ljava/lang/String;Lorg/w3c/dom/Node;)V
athrow
end local 2 11: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Lcom/sun/imageio/plugins/jpeg/COMMarkerSegment;
0 12 1 node Lorg/w3c/dom/Node;
3 4 2 ourNode Ljavax/imageio/metadata/IIOMetadataNode;
7 11 2 comment Ljava/lang/String;
Exceptions:
throws javax.imageio.metadata.IIOInvalidTreeException
MethodParameters:
Name Flags
node
java.lang.String ();
descriptor: ()Ljava/lang/String;
flags: (0x0000)
Code:
stack=4, locals=1, args_size=1
start local 0 0: new java.lang.String
dup
aload 0
getfield com.sun.imageio.plugins.jpeg.COMMarkerSegment.data:[B
ldc "ISO-8859-1"
invokespecial java.lang.String.<init>:([BLjava/lang/String;)V
1: areturn
2: StackMap locals:
StackMap stack: java.io.UnsupportedEncodingException
pop
3: aconst_null
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/sun/imageio/plugins/jpeg/COMMarkerSegment;
Exception table:
from to target type
0 1 2 Class java.io.UnsupportedEncodingException
javax.imageio.metadata.IIOMetadataNode getNativeNode();
descriptor: ()Ljavax/imageio/metadata/IIOMetadataNode;
flags: (0x0000)
Code:
stack=3, locals=2, args_size=1
start local 0 0: new javax.imageio.metadata.IIOMetadataNode
dup
ldc "com"
invokespecial javax.imageio.metadata.IIOMetadataNode.<init>:(Ljava/lang/String;)V
astore 1
start local 1 1: aload 1
ldc "comment"
aload 0
invokevirtual com.sun.imageio.plugins.jpeg.COMMarkerSegment.getComment:()Ljava/lang/String;
invokevirtual javax.imageio.metadata.IIOMetadataNode.setAttribute:(Ljava/lang/String;Ljava/lang/String;)V
2: aload 0
getfield com.sun.imageio.plugins.jpeg.COMMarkerSegment.data:[B
ifnull 4
3: aload 1
aload 0
getfield com.sun.imageio.plugins.jpeg.COMMarkerSegment.data:[B
invokevirtual byte[].clone:()Ljava/lang/Object;
invokevirtual javax.imageio.metadata.IIOMetadataNode.setUserObject:(Ljava/lang/Object;)V
4: StackMap locals: javax.imageio.metadata.IIOMetadataNode
StackMap stack:
aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lcom/sun/imageio/plugins/jpeg/COMMarkerSegment;
1 5 1 node Ljavax/imageio/metadata/IIOMetadataNode;
void write(javax.imageio.stream.ImageOutputStream);
descriptor: (Ljavax/imageio/stream/ImageOutputStream;)V
flags: (0x0000)
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
iconst_2
aload 0
getfield com.sun.imageio.plugins.jpeg.COMMarkerSegment.data:[B
arraylength
iadd
putfield com.sun.imageio.plugins.jpeg.COMMarkerSegment.length:I
1: aload 0
aload 1
invokevirtual com.sun.imageio.plugins.jpeg.COMMarkerSegment.writeTag:(Ljavax/imageio/stream/ImageOutputStream;)V
2: aload 1
aload 0
getfield com.sun.imageio.plugins.jpeg.COMMarkerSegment.data:[B
invokeinterface javax.imageio.stream.ImageOutputStream.write:([B)V
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/sun/imageio/plugins/jpeg/COMMarkerSegment;
0 4 1 ios Ljavax/imageio/stream/ImageOutputStream;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
ios
void print();
descriptor: ()V
flags: (0x0000)
Code:
stack=4, locals=1, args_size=1
start local 0 0: aload 0
ldc "COM"
invokevirtual com.sun.imageio.plugins.jpeg.COMMarkerSegment.printTag:(Ljava/lang/String;)V
1: getstatic java.lang.System.out:Ljava/io/PrintStream;
new java.lang.StringBuilder
dup
ldc "<"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
invokevirtual com.sun.imageio.plugins.jpeg.COMMarkerSegment.getComment:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc ">"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/sun/imageio/plugins/jpeg/COMMarkerSegment;
}
SourceFile: "COMMarkerSegment.java"