class com.sun.media.jfxmedia.locator.ConnectionHolder$FileConnectionHolder extends com.sun.media.jfxmedia.locator.ConnectionHolder
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: com.sun.media.jfxmedia.locator.ConnectionHolder$FileConnectionHolder
super_class: com.sun.media.jfxmedia.locator.ConnectionHolder
{
private java.io.RandomAccessFile file;
descriptor: Ljava/io/RandomAccessFile;
flags: (0x0002) ACC_PRIVATE
void <init>(java.net.URI);
descriptor: (Ljava/net/URI;)V
flags: (0x0000)
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial com.sun.media.jfxmedia.locator.ConnectionHolder.<init>:()V
1: aload 0
aconst_null
putfield com.sun.media.jfxmedia.locator.ConnectionHolder$FileConnectionHolder.file:Ljava/io/RandomAccessFile;
2: aload 0
aload 0
aload 1
invokevirtual com.sun.media.jfxmedia.locator.ConnectionHolder$FileConnectionHolder.openFile:(Ljava/net/URI;)Ljava/nio/channels/ReadableByteChannel;
putfield com.sun.media.jfxmedia.locator.ConnectionHolder$FileConnectionHolder.channel:Ljava/nio/channels/ReadableByteChannel;
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/sun/media/jfxmedia/locator/ConnectionHolder$FileConnectionHolder;
0 4 1 uri Ljava/net/URI;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
uri
boolean needBuffer();
descriptor: ()Z
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/media/jfxmedia/locator/ConnectionHolder$FileConnectionHolder;
boolean isRandomAccess();
descriptor: ()Z
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: iconst_1
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/media/jfxmedia/locator/ConnectionHolder$FileConnectionHolder;
boolean isSeekable();
descriptor: ()Z
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: iconst_1
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/media/jfxmedia/locator/ConnectionHolder$FileConnectionHolder;
public long seek(long);
descriptor: (J)J
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield com.sun.media.jfxmedia.locator.ConnectionHolder$FileConnectionHolder.channel:Ljava/nio/channels/ReadableByteChannel;
checkcast java.nio.channels.FileChannel
lload 1
invokevirtual java.nio.channels.FileChannel.position:(J)Ljava/nio/channels/FileChannel;
pop
1: lload 1
2: lreturn
3: StackMap locals:
StackMap stack: java.io.IOException
pop
4: ldc -1
lreturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lcom/sun/media/jfxmedia/locator/ConnectionHolder$FileConnectionHolder;
0 5 1 position J
Exception table:
from to target type
0 2 3 Class java.io.IOException
MethodParameters:
Name Flags
position
int readBlock(long, int);
descriptor: (JI)I
flags: (0x0000)
Code:
stack=4, locals=4, args_size=3
start local 0 start local 1 start local 3 0: aload 0
getfield com.sun.media.jfxmedia.locator.ConnectionHolder$FileConnectionHolder.channel:Ljava/nio/channels/ReadableByteChannel;
ifnonnull 2
1: new java.nio.channels.ClosedChannelException
dup
invokespecial java.nio.channels.ClosedChannelException.<init>:()V
athrow
2: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.media.jfxmedia.locator.ConnectionHolder$FileConnectionHolder.buffer:Ljava/nio/ByteBuffer;
invokevirtual java.nio.ByteBuffer.capacity:()I
iload 3
if_icmpge 4
3: aload 0
iload 3
invokestatic java.nio.ByteBuffer.allocateDirect:(I)Ljava/nio/ByteBuffer;
putfield com.sun.media.jfxmedia.locator.ConnectionHolder$FileConnectionHolder.buffer:Ljava/nio/ByteBuffer;
4: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.media.jfxmedia.locator.ConnectionHolder$FileConnectionHolder.buffer:Ljava/nio/ByteBuffer;
invokevirtual java.nio.ByteBuffer.rewind:()Ljava/nio/Buffer;
iload 3
invokevirtual java.nio.Buffer.limit:(I)Ljava/nio/Buffer;
pop
5: aload 0
getfield com.sun.media.jfxmedia.locator.ConnectionHolder$FileConnectionHolder.channel:Ljava/nio/channels/ReadableByteChannel;
checkcast java.nio.channels.FileChannel
aload 0
getfield com.sun.media.jfxmedia.locator.ConnectionHolder$FileConnectionHolder.buffer:Ljava/nio/ByteBuffer;
lload 1
invokevirtual java.nio.channels.FileChannel.read:(Ljava/nio/ByteBuffer;J)I
ireturn
end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lcom/sun/media/jfxmedia/locator/ConnectionHolder$FileConnectionHolder;
0 6 1 position J
0 6 3 size I
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
position
size
private java.nio.channels.ReadableByteChannel openFile(java.net.URI);
descriptor: (Ljava/net/URI;)Ljava/nio/channels/ReadableByteChannel;
flags: (0x0002) ACC_PRIVATE
Code:
stack=6, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield com.sun.media.jfxmedia.locator.ConnectionHolder$FileConnectionHolder.file:Ljava/io/RandomAccessFile;
ifnull 2
1: aload 0
getfield com.sun.media.jfxmedia.locator.ConnectionHolder$FileConnectionHolder.file:Ljava/io/RandomAccessFile;
invokevirtual java.io.RandomAccessFile.close:()V
2: StackMap locals:
StackMap stack:
aload 0
new java.io.RandomAccessFile
dup
new java.io.File
dup
aload 1
invokespecial java.io.File.<init>:(Ljava/net/URI;)V
ldc "r"
invokespecial java.io.RandomAccessFile.<init>:(Ljava/io/File;Ljava/lang/String;)V
putfield com.sun.media.jfxmedia.locator.ConnectionHolder$FileConnectionHolder.file:Ljava/io/RandomAccessFile;
3: aload 0
getfield com.sun.media.jfxmedia.locator.ConnectionHolder$FileConnectionHolder.file:Ljava/io/RandomAccessFile;
invokevirtual java.io.RandomAccessFile.getChannel:()Ljava/nio/channels/FileChannel;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/sun/media/jfxmedia/locator/ConnectionHolder$FileConnectionHolder;
0 4 1 uri Ljava/net/URI;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
uri final
public void closeConnection();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
invokespecial com.sun.media.jfxmedia.locator.ConnectionHolder.closeConnection:()V
1: aload 0
getfield com.sun.media.jfxmedia.locator.ConnectionHolder$FileConnectionHolder.file:Ljava/io/RandomAccessFile;
ifnull 10
2: aload 0
getfield com.sun.media.jfxmedia.locator.ConnectionHolder$FileConnectionHolder.file:Ljava/io/RandomAccessFile;
invokevirtual java.io.RandomAccessFile.close:()V
3: goto 9
StackMap locals:
StackMap stack: java.io.IOException
4: pop
5: aload 0
aconst_null
putfield com.sun.media.jfxmedia.locator.ConnectionHolder$FileConnectionHolder.file:Ljava/io/RandomAccessFile;
goto 10
6: StackMap locals:
StackMap stack: java.lang.Throwable
astore 1
7: aload 0
aconst_null
putfield com.sun.media.jfxmedia.locator.ConnectionHolder$FileConnectionHolder.file:Ljava/io/RandomAccessFile;
8: aload 1
athrow
9: StackMap locals:
StackMap stack:
aload 0
aconst_null
putfield com.sun.media.jfxmedia.locator.ConnectionHolder$FileConnectionHolder.file:Ljava/io/RandomAccessFile;
10: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lcom/sun/media/jfxmedia/locator/ConnectionHolder$FileConnectionHolder;
Exception table:
from to target type
2 3 4 Class java.io.IOException
2 5 6 any
}
SourceFile: "ConnectionHolder.java"
NestHost: com.sun.media.jfxmedia.locator.ConnectionHolder
InnerClasses:
private FileConnectionHolder = com.sun.media.jfxmedia.locator.ConnectionHolder$FileConnectionHolder of com.sun.media.jfxmedia.locator.ConnectionHolder