public abstract class com.sun.media.jfxmedia.locator.ConnectionHolder
minor version: 0
major version: 59
flags: flags: (0x0421) ACC_PUBLIC, ACC_SUPER, ACC_ABSTRACT
this_class: com.sun.media.jfxmedia.locator.ConnectionHolder
super_class: java.lang.Object
{
private static int DEFAULT_BUFFER_SIZE;
descriptor: I
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
java.nio.channels.ReadableByteChannel channel;
descriptor: Ljava/nio/channels/ReadableByteChannel;
flags: (0x0000)
java.nio.ByteBuffer buffer;
descriptor: Ljava/nio/ByteBuffer;
flags: (0x0000)
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: sipush 4096
putstatic com.sun.media.jfxmedia.locator.ConnectionHolder.DEFAULT_BUFFER_SIZE:I
return
LocalVariableTable:
Start End Slot Name Signature
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
getstatic com.sun.media.jfxmedia.locator.ConnectionHolder.DEFAULT_BUFFER_SIZE:I
invokestatic java.nio.ByteBuffer.allocateDirect:(I)Ljava/nio/ByteBuffer;
putfield com.sun.media.jfxmedia.locator.ConnectionHolder.buffer:Ljava/nio/ByteBuffer;
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/sun/media/jfxmedia/locator/ConnectionHolder;
static com.sun.media.jfxmedia.locator.ConnectionHolder createMemoryConnectionHolder(java.nio.ByteBuffer);
descriptor: (Ljava/nio/ByteBuffer;)Lcom/sun/media/jfxmedia/locator/ConnectionHolder;
flags: (0x0008) ACC_STATIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new com.sun.media.jfxmedia.locator.ConnectionHolder$MemoryConnectionHolder
dup
aload 0
invokespecial com.sun.media.jfxmedia.locator.ConnectionHolder$MemoryConnectionHolder.<init>:(Ljava/nio/ByteBuffer;)V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 buffer Ljava/nio/ByteBuffer;
MethodParameters:
Name Flags
buffer
static com.sun.media.jfxmedia.locator.ConnectionHolder createURIConnectionHolder(java.net.URI, java.util.Map<java.lang.String, java.lang.Object>);
descriptor: (Ljava/net/URI;Ljava/util/Map;)Lcom/sun/media/jfxmedia/locator/ConnectionHolder;
flags: (0x0008) ACC_STATIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: new com.sun.media.jfxmedia.locator.ConnectionHolder$URIConnectionHolder
dup
aload 0
aload 1
invokespecial com.sun.media.jfxmedia.locator.ConnectionHolder$URIConnectionHolder.<init>:(Ljava/net/URI;Ljava/util/Map;)V
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 uri Ljava/net/URI;
0 1 1 connectionProperties Ljava/util/Map<Ljava/lang/String;Ljava/lang/Object;>;
Exceptions:
throws java.io.IOException
Signature: (Ljava/net/URI;Ljava/util/Map<Ljava/lang/String;Ljava/lang/Object;>;)Lcom/sun/media/jfxmedia/locator/ConnectionHolder;
MethodParameters:
Name Flags
uri
connectionProperties
static com.sun.media.jfxmedia.locator.ConnectionHolder createFileConnectionHolder(java.net.URI);
descriptor: (Ljava/net/URI;)Lcom/sun/media/jfxmedia/locator/ConnectionHolder;
flags: (0x0008) ACC_STATIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new com.sun.media.jfxmedia.locator.ConnectionHolder$FileConnectionHolder
dup
aload 0
invokespecial com.sun.media.jfxmedia.locator.ConnectionHolder$FileConnectionHolder.<init>:(Ljava/net/URI;)V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 uri Ljava/net/URI;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
uri
static com.sun.media.jfxmedia.locator.ConnectionHolder createHLSConnectionHolder(java.net.URI);
descriptor: (Ljava/net/URI;)Lcom/sun/media/jfxmedia/locator/ConnectionHolder;
flags: (0x0008) ACC_STATIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new com.sun.media.jfxmedia.locator.HLSConnectionHolder
dup
aload 0
invokespecial com.sun.media.jfxmedia.locator.HLSConnectionHolder.<init>:(Ljava/net/URI;)V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 uri Ljava/net/URI;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
uri
public int readNextBlock();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.media.jfxmedia.locator.ConnectionHolder.buffer:Ljava/nio/ByteBuffer;
invokevirtual java.nio.ByteBuffer.rewind:()Ljava/nio/Buffer;
pop
1: aload 0
getfield com.sun.media.jfxmedia.locator.ConnectionHolder.buffer:Ljava/nio/ByteBuffer;
invokevirtual java.nio.ByteBuffer.limit:()I
aload 0
getfield com.sun.media.jfxmedia.locator.ConnectionHolder.buffer:Ljava/nio/ByteBuffer;
invokevirtual java.nio.ByteBuffer.capacity:()I
if_icmpge 3
2: aload 0
getfield com.sun.media.jfxmedia.locator.ConnectionHolder.buffer:Ljava/nio/ByteBuffer;
aload 0
getfield com.sun.media.jfxmedia.locator.ConnectionHolder.buffer:Ljava/nio/ByteBuffer;
invokevirtual java.nio.ByteBuffer.capacity:()I
invokevirtual java.nio.ByteBuffer.limit:(I)Ljava/nio/Buffer;
pop
3: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.media.jfxmedia.locator.ConnectionHolder.channel:Ljava/nio/channels/ReadableByteChannel;
ifnonnull 5
4: new java.nio.channels.ClosedChannelException
dup
invokespecial java.nio.channels.ClosedChannelException.<init>:()V
athrow
5: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.media.jfxmedia.locator.ConnectionHolder.channel:Ljava/nio/channels/ReadableByteChannel;
aload 0
getfield com.sun.media.jfxmedia.locator.ConnectionHolder.buffer:Ljava/nio/ByteBuffer;
invokeinterface java.nio.channels.ReadableByteChannel.read:(Ljava/nio/ByteBuffer;)I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lcom/sun/media/jfxmedia/locator/ConnectionHolder;
Exceptions:
throws java.io.IOException
public java.nio.ByteBuffer getBuffer();
descriptor: ()Ljava/nio/ByteBuffer;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.media.jfxmedia.locator.ConnectionHolder.buffer:Ljava/nio/ByteBuffer;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/media/jfxmedia/locator/ConnectionHolder;
abstract int readBlock(long, int);
descriptor: (JI)I
flags: (0x0400) ACC_ABSTRACT
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
position
size
abstract boolean needBuffer();
descriptor: ()Z
flags: (0x0400) ACC_ABSTRACT
abstract boolean isSeekable();
descriptor: ()Z
flags: (0x0400) ACC_ABSTRACT
abstract boolean isRandomAccess();
descriptor: ()Z
flags: (0x0400) ACC_ABSTRACT
public abstract long seek(long);
descriptor: (J)J
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
MethodParameters:
Name Flags
position
public void closeConnection();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
getfield com.sun.media.jfxmedia.locator.ConnectionHolder.channel:Ljava/nio/channels/ReadableByteChannel;
ifnull 8
1: aload 0
getfield com.sun.media.jfxmedia.locator.ConnectionHolder.channel:Ljava/nio/channels/ReadableByteChannel;
invokeinterface java.nio.channels.ReadableByteChannel.close:()V
2: goto 8
StackMap locals:
StackMap stack: java.io.IOException
3: pop
4: aload 0
aconst_null
putfield com.sun.media.jfxmedia.locator.ConnectionHolder.channel:Ljava/nio/channels/ReadableByteChannel;
goto 9
5: StackMap locals:
StackMap stack: java.lang.Throwable
astore 1
6: aload 0
aconst_null
putfield com.sun.media.jfxmedia.locator.ConnectionHolder.channel:Ljava/nio/channels/ReadableByteChannel;
7: aload 1
athrow
8: StackMap locals:
StackMap stack:
aload 0
aconst_null
putfield com.sun.media.jfxmedia.locator.ConnectionHolder.channel:Ljava/nio/channels/ReadableByteChannel;
9: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lcom/sun/media/jfxmedia/locator/ConnectionHolder;
Exception table:
from to target type
0 2 3 Class java.io.IOException
0 4 5 any
int property(int, int);
descriptor: (II)I
flags: (0x0000)
Code:
stack=1, locals=3, args_size=3
start local 0 start local 1 start local 2 0: iconst_0
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/media/jfxmedia/locator/ConnectionHolder;
0 1 1 prop I
0 1 2 value I
MethodParameters:
Name Flags
prop
value
int getStreamSize();
descriptor: ()I
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: iconst_m1
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/media/jfxmedia/locator/ConnectionHolder;
}
SourceFile: "ConnectionHolder.java"
NestMembers:
com.sun.media.jfxmedia.locator.ConnectionHolder$FileConnectionHolder com.sun.media.jfxmedia.locator.ConnectionHolder$MemoryConnectionHolder com.sun.media.jfxmedia.locator.ConnectionHolder$MemoryConnectionHolder$1 com.sun.media.jfxmedia.locator.ConnectionHolder$URIConnectionHolder
InnerClasses:
private FileConnectionHolder = com.sun.media.jfxmedia.locator.ConnectionHolder$FileConnectionHolder of com.sun.media.jfxmedia.locator.ConnectionHolder
private MemoryConnectionHolder = com.sun.media.jfxmedia.locator.ConnectionHolder$MemoryConnectionHolder of com.sun.media.jfxmedia.locator.ConnectionHolder
private URIConnectionHolder = com.sun.media.jfxmedia.locator.ConnectionHolder$URIConnectionHolder of com.sun.media.jfxmedia.locator.ConnectionHolder