final class com.sun.xml.internal.org.jvnet.mimepull.MemoryData implements com.sun.xml.internal.org.jvnet.mimepull.Data
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: com.sun.xml.internal.org.jvnet.mimepull.MemoryData
super_class: java.lang.Object
{
private static final java.util.logging.Logger LOGGER;
descriptor: Ljava/util/logging/Logger;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private final byte[] data;
descriptor: [B
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final int len;
descriptor: I
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final com.sun.xml.internal.org.jvnet.mimepull.MIMEConfig config;
descriptor: Lcom/sun/xml/internal/org/jvnet/mimepull/MIMEConfig;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: ldc Lcom/sun/xml/internal/org/jvnet/mimepull/MemoryData;
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
invokestatic java.util.logging.Logger.getLogger:(Ljava/lang/String;)Ljava/util/logging/Logger;
putstatic com.sun.xml.internal.org.jvnet.mimepull.MemoryData.LOGGER:Ljava/util/logging/Logger;
return
LocalVariableTable:
Start End Slot Name Signature
void <init>(java.nio.ByteBuffer, com.sun.xml.internal.org.jvnet.mimepull.MIMEConfig);
descriptor: (Ljava/nio/ByteBuffer;Lcom/sun/xml/internal/org/jvnet/mimepull/MIMEConfig;)V
flags: (0x0000)
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
aload 1
invokevirtual java.nio.ByteBuffer.array:()[B
putfield com.sun.xml.internal.org.jvnet.mimepull.MemoryData.data:[B
2: aload 0
aload 1
invokevirtual java.nio.ByteBuffer.limit:()I
putfield com.sun.xml.internal.org.jvnet.mimepull.MemoryData.len:I
3: aload 0
aload 2
putfield com.sun.xml.internal.org.jvnet.mimepull.MemoryData.config:Lcom/sun/xml/internal/org/jvnet/mimepull/MIMEConfig;
4: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lcom/sun/xml/internal/org/jvnet/mimepull/MemoryData;
0 5 1 buf Ljava/nio/ByteBuffer;
0 5 2 config Lcom/sun/xml/internal/org/jvnet/mimepull/MIMEConfig;
MethodParameters:
Name Flags
buf
config
public int size();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.xml.internal.org.jvnet.mimepull.MemoryData.len:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/xml/internal/org/jvnet/mimepull/MemoryData;
public byte[] read();
descriptor: ()[B
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.xml.internal.org.jvnet.mimepull.MemoryData.data:[B
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/xml/internal/org/jvnet/mimepull/MemoryData;
public long writeTo(com.sun.xml.internal.org.jvnet.mimepull.DataFile);
descriptor: (Lcom/sun/xml/internal/org/jvnet/mimepull/DataFile;)J
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 1
aload 0
getfield com.sun.xml.internal.org.jvnet.mimepull.MemoryData.data:[B
iconst_0
aload 0
getfield com.sun.xml.internal.org.jvnet.mimepull.MemoryData.len:I
invokevirtual com.sun.xml.internal.org.jvnet.mimepull.DataFile.writeTo:([BII)J
lreturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/xml/internal/org/jvnet/mimepull/MemoryData;
0 1 1 file Lcom/sun/xml/internal/org/jvnet/mimepull/DataFile;
MethodParameters:
Name Flags
file
public com.sun.xml.internal.org.jvnet.mimepull.Data createNext(com.sun.xml.internal.org.jvnet.mimepull.DataHead, java.nio.ByteBuffer);
descriptor: (Lcom/sun/xml/internal/org/jvnet/mimepull/DataHead;Ljava/nio/ByteBuffer;)Lcom/sun/xml/internal/org/jvnet/mimepull/Data;
flags: (0x0001) ACC_PUBLIC
Code:
stack=7, locals=6, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield com.sun.xml.internal.org.jvnet.mimepull.MemoryData.config:Lcom/sun/xml/internal/org/jvnet/mimepull/MIMEConfig;
invokevirtual com.sun.xml.internal.org.jvnet.mimepull.MIMEConfig.isOnlyMemory:()Z
ifne 19
aload 1
getfield com.sun.xml.internal.org.jvnet.mimepull.DataHead.inMemory:J
aload 0
getfield com.sun.xml.internal.org.jvnet.mimepull.MemoryData.config:Lcom/sun/xml/internal/org/jvnet/mimepull/MIMEConfig;
getfield com.sun.xml.internal.org.jvnet.mimepull.MIMEConfig.memoryThreshold:J
lcmp
iflt 19
1: aload 0
getfield com.sun.xml.internal.org.jvnet.mimepull.MemoryData.config:Lcom/sun/xml/internal/org/jvnet/mimepull/MIMEConfig;
invokevirtual com.sun.xml.internal.org.jvnet.mimepull.MIMEConfig.getTempFilePrefix:()Ljava/lang/String;
astore 3
start local 3 2: aload 0
getfield com.sun.xml.internal.org.jvnet.mimepull.MemoryData.config:Lcom/sun/xml/internal/org/jvnet/mimepull/MIMEConfig;
invokevirtual com.sun.xml.internal.org.jvnet.mimepull.MIMEConfig.getTempFileSuffix:()Ljava/lang/String;
astore 4
start local 4 3: aload 3
aload 4
aload 0
getfield com.sun.xml.internal.org.jvnet.mimepull.MemoryData.config:Lcom/sun/xml/internal/org/jvnet/mimepull/MIMEConfig;
invokevirtual com.sun.xml.internal.org.jvnet.mimepull.MIMEConfig.getTempDir:()Ljava/io/File;
invokestatic com.sun.xml.internal.org.jvnet.mimepull.TempFiles.createTempFile:(Ljava/lang/String;Ljava/lang/String;Ljava/io/File;)Ljava/io/File;
astore 5
start local 5 4: aload 5
invokevirtual java.io.File.deleteOnExit:()V
5: getstatic com.sun.xml.internal.org.jvnet.mimepull.MemoryData.LOGGER:Ljava/util/logging/Logger;
getstatic java.util.logging.Level.FINE:Ljava/util/logging/Level;
invokevirtual java.util.logging.Logger.isLoggable:(Ljava/util/logging/Level;)Z
ifeq 7
6: getstatic com.sun.xml.internal.org.jvnet.mimepull.MemoryData.LOGGER:Ljava/util/logging/Logger;
getstatic java.util.logging.Level.FINE:Ljava/util/logging/Level;
ldc "Created temp file = {0}"
aload 5
invokevirtual java.util.logging.Logger.log:(Ljava/util/logging/Level;Ljava/lang/String;Ljava/lang/Object;)V
7: StackMap locals: java.lang.String java.lang.String java.io.File
StackMap stack:
aload 1
new com.sun.xml.internal.org.jvnet.mimepull.DataFile
dup
aload 5
invokespecial com.sun.xml.internal.org.jvnet.mimepull.DataFile.<init>:(Ljava/io/File;)V
putfield com.sun.xml.internal.org.jvnet.mimepull.DataHead.dataFile:Lcom/sun/xml/internal/org/jvnet/mimepull/DataFile;
end local 5 end local 4 end local 3 8: goto 11
StackMap locals: com.sun.xml.internal.org.jvnet.mimepull.MemoryData com.sun.xml.internal.org.jvnet.mimepull.DataHead java.nio.ByteBuffer
StackMap stack: java.io.IOException
9: astore 3
start local 3 10: new com.sun.xml.internal.org.jvnet.mimepull.MIMEParsingException
dup
aload 3
invokespecial com.sun.xml.internal.org.jvnet.mimepull.MIMEParsingException.<init>:(Ljava/lang/Throwable;)V
athrow
end local 3 11: StackMap locals:
StackMap stack:
aload 1
getfield com.sun.xml.internal.org.jvnet.mimepull.DataHead.head:Lcom/sun/xml/internal/org/jvnet/mimepull/Chunk;
ifnull 18
12: aload 1
getfield com.sun.xml.internal.org.jvnet.mimepull.DataHead.head:Lcom/sun/xml/internal/org/jvnet/mimepull/Chunk;
astore 3
start local 3 13: goto 17
14: StackMap locals: com.sun.xml.internal.org.jvnet.mimepull.Chunk
StackMap stack:
aload 3
getfield com.sun.xml.internal.org.jvnet.mimepull.Chunk.data:Lcom/sun/xml/internal/org/jvnet/mimepull/Data;
aload 1
getfield com.sun.xml.internal.org.jvnet.mimepull.DataHead.dataFile:Lcom/sun/xml/internal/org/jvnet/mimepull/DataFile;
invokeinterface com.sun.xml.internal.org.jvnet.mimepull.Data.writeTo:(Lcom/sun/xml/internal/org/jvnet/mimepull/DataFile;)J
lstore 4
start local 4 15: aload 3
new com.sun.xml.internal.org.jvnet.mimepull.FileData
dup
aload 1
getfield com.sun.xml.internal.org.jvnet.mimepull.DataHead.dataFile:Lcom/sun/xml/internal/org/jvnet/mimepull/DataFile;
lload 4
aload 0
getfield com.sun.xml.internal.org.jvnet.mimepull.MemoryData.len:I
invokespecial com.sun.xml.internal.org.jvnet.mimepull.FileData.<init>:(Lcom/sun/xml/internal/org/jvnet/mimepull/DataFile;JI)V
putfield com.sun.xml.internal.org.jvnet.mimepull.Chunk.data:Lcom/sun/xml/internal/org/jvnet/mimepull/Data;
end local 4 16: aload 3
getfield com.sun.xml.internal.org.jvnet.mimepull.Chunk.next:Lcom/sun/xml/internal/org/jvnet/mimepull/Chunk;
astore 3
StackMap locals:
StackMap stack:
17: aload 3
ifnonnull 14
end local 3 18: StackMap locals:
StackMap stack:
new com.sun.xml.internal.org.jvnet.mimepull.FileData
dup
aload 1
getfield com.sun.xml.internal.org.jvnet.mimepull.DataHead.dataFile:Lcom/sun/xml/internal/org/jvnet/mimepull/DataFile;
aload 2
invokespecial com.sun.xml.internal.org.jvnet.mimepull.FileData.<init>:(Lcom/sun/xml/internal/org/jvnet/mimepull/DataFile;Ljava/nio/ByteBuffer;)V
areturn
19: StackMap locals:
StackMap stack:
new com.sun.xml.internal.org.jvnet.mimepull.MemoryData
dup
aload 2
aload 0
getfield com.sun.xml.internal.org.jvnet.mimepull.MemoryData.config:Lcom/sun/xml/internal/org/jvnet/mimepull/MIMEConfig;
invokespecial com.sun.xml.internal.org.jvnet.mimepull.MemoryData.<init>:(Ljava/nio/ByteBuffer;Lcom/sun/xml/internal/org/jvnet/mimepull/MIMEConfig;)V
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 20 0 this Lcom/sun/xml/internal/org/jvnet/mimepull/MemoryData;
0 20 1 dataHead Lcom/sun/xml/internal/org/jvnet/mimepull/DataHead;
0 20 2 buf Ljava/nio/ByteBuffer;
2 8 3 prefix Ljava/lang/String;
3 8 4 suffix Ljava/lang/String;
4 8 5 tempFile Ljava/io/File;
10 11 3 ioe Ljava/io/IOException;
13 18 3 c Lcom/sun/xml/internal/org/jvnet/mimepull/Chunk;
15 16 4 pointer J
Exception table:
from to target type
1 8 9 Class java.io.IOException
MethodParameters:
Name Flags
dataHead
buf
}
SourceFile: "MemoryData.java"