public abstract class com.sun.media.jfxmediaimpl.NativeMedia extends com.sun.media.jfxmedia.Media
minor version: 0
major version: 59
flags: flags: (0x0421) ACC_PUBLIC, ACC_SUPER, ACC_ABSTRACT
this_class: com.sun.media.jfxmediaimpl.NativeMedia
super_class: com.sun.media.jfxmedia.Media
{
protected final java.util.concurrent.locks.Lock markerLock;
descriptor: Ljava/util/concurrent/locks/Lock;
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
protected final java.util.concurrent.locks.Lock listenerLock;
descriptor: Ljava/util/concurrent/locks/Lock;
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
protected java.util.Map<java.lang.String, java.lang.Double> markersByName;
descriptor: Ljava/util/Map;
flags: (0x0004) ACC_PROTECTED
Signature: Ljava/util/Map<Ljava/lang/String;Ljava/lang/Double;>;
protected java.util.NavigableMap<java.lang.Double, java.lang.String> markersByTime;
descriptor: Ljava/util/NavigableMap;
flags: (0x0004) ACC_PROTECTED
Signature: Ljava/util/NavigableMap<Ljava/lang/Double;Ljava/lang/String;>;
protected java.util.WeakHashMap<com.sun.media.jfxmediaimpl.MarkerStateListener, java.lang.Boolean> markerListeners;
descriptor: Ljava/util/WeakHashMap;
flags: (0x0004) ACC_PROTECTED
Signature: Ljava/util/WeakHashMap<Lcom/sun/media/jfxmediaimpl/MarkerStateListener;Ljava/lang/Boolean;>;
protected void <init>(com.sun.media.jfxmedia.locator.Locator);
descriptor: (Lcom/sun/media/jfxmedia/locator/Locator;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokespecial com.sun.media.jfxmedia.Media.<init>:(Lcom/sun/media/jfxmedia/locator/Locator;)V
1: aload 0
new java.util.concurrent.locks.ReentrantLock
dup
invokespecial java.util.concurrent.locks.ReentrantLock.<init>:()V
putfield com.sun.media.jfxmediaimpl.NativeMedia.markerLock:Ljava/util/concurrent/locks/Lock;
2: aload 0
new java.util.concurrent.locks.ReentrantLock
dup
invokespecial java.util.concurrent.locks.ReentrantLock.<init>:()V
putfield com.sun.media.jfxmediaimpl.NativeMedia.listenerLock:Ljava/util/concurrent/locks/Lock;
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/sun/media/jfxmediaimpl/NativeMedia;
0 4 1 locator Lcom/sun/media/jfxmedia/locator/Locator;
MethodParameters:
Name Flags
locator
public abstract com.sun.media.jfxmediaimpl.platform.Platform getPlatform();
descriptor: ()Lcom/sun/media/jfxmediaimpl/platform/Platform;
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
public void addTrack(com.sun.media.jfxmedia.track.Track);
descriptor: (Lcom/sun/media/jfxmedia/track/Track;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokespecial com.sun.media.jfxmedia.Media.addTrack:(Lcom/sun/media/jfxmedia/track/Track;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/sun/media/jfxmediaimpl/NativeMedia;
0 2 1 track Lcom/sun/media/jfxmedia/track/Track;
MethodParameters:
Name Flags
track
public void addMarker(java.lang.String, double);
descriptor: (Ljava/lang/String;D)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=5, args_size=3
start local 0 start local 1 start local 2 0: aload 1
ifnonnull 2
1: new java.lang.IllegalArgumentException
dup
ldc "markerName == null!"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
dload 2
dconst_0
dcmpg
ifge 4
3: new java.lang.IllegalArgumentException
dup
ldc "presentationTime < 0"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
4: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.media.jfxmediaimpl.NativeMedia.markerLock:Ljava/util/concurrent/locks/Lock;
invokeinterface java.util.concurrent.locks.Lock.lock:()V
5: aload 0
getfield com.sun.media.jfxmediaimpl.NativeMedia.markersByName:Ljava/util/Map;
ifnonnull 8
6: aload 0
new java.util.HashMap
dup
invokespecial java.util.HashMap.<init>:()V
putfield com.sun.media.jfxmediaimpl.NativeMedia.markersByName:Ljava/util/Map;
7: aload 0
new java.util.TreeMap
dup
invokespecial java.util.TreeMap.<init>:()V
putfield com.sun.media.jfxmediaimpl.NativeMedia.markersByTime:Ljava/util/NavigableMap;
8: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.media.jfxmediaimpl.NativeMedia.markersByName:Ljava/util/Map;
aload 1
dload 2
invokestatic java.lang.Double.valueOf:(D)Ljava/lang/Double;
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
9: aload 0
getfield com.sun.media.jfxmediaimpl.NativeMedia.markersByTime:Ljava/util/NavigableMap;
dload 2
invokestatic java.lang.Double.valueOf:(D)Ljava/lang/Double;
aload 1
invokeinterface java.util.NavigableMap.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
10: goto 14
StackMap locals:
StackMap stack: java.lang.Throwable
11: astore 4
12: aload 0
getfield com.sun.media.jfxmediaimpl.NativeMedia.markerLock:Ljava/util/concurrent/locks/Lock;
invokeinterface java.util.concurrent.locks.Lock.unlock:()V
13: aload 4
athrow
14: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.media.jfxmediaimpl.NativeMedia.markerLock:Ljava/util/concurrent/locks/Lock;
invokeinterface java.util.concurrent.locks.Lock.unlock:()V
15: aload 0
iconst_1
invokevirtual com.sun.media.jfxmediaimpl.NativeMedia.fireMarkerStateEvent:(Z)V
16: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 17 0 this Lcom/sun/media/jfxmediaimpl/NativeMedia;
0 17 1 markerName Ljava/lang/String;
0 17 2 presentationTime D
Exception table:
from to target type
5 11 11 any
MethodParameters:
Name Flags
markerName
presentationTime
public java.util.Map<java.lang.String, java.lang.Double> getMarkers();
descriptor: ()Ljava/util/Map;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=3, args_size=1
start local 0 0: aconst_null
astore 1
start local 1 1: aload 0
getfield com.sun.media.jfxmediaimpl.NativeMedia.markerLock:Ljava/util/concurrent/locks/Lock;
invokeinterface java.util.concurrent.locks.Lock.lock:()V
2: aload 0
getfield com.sun.media.jfxmediaimpl.NativeMedia.markersByName:Ljava/util/Map;
ifnull 8
aload 0
getfield com.sun.media.jfxmediaimpl.NativeMedia.markersByName:Ljava/util/Map;
invokeinterface java.util.Map.isEmpty:()Z
ifne 8
3: aload 0
getfield com.sun.media.jfxmediaimpl.NativeMedia.markersByName:Ljava/util/Map;
invokestatic java.util.Collections.unmodifiableMap:(Ljava/util/Map;)Ljava/util/Map;
astore 1
4: goto 8
StackMap locals: com.sun.media.jfxmediaimpl.NativeMedia java.util.Map
StackMap stack: java.lang.Throwable
5: astore 2
6: aload 0
getfield com.sun.media.jfxmediaimpl.NativeMedia.markerLock:Ljava/util/concurrent/locks/Lock;
invokeinterface java.util.concurrent.locks.Lock.unlock:()V
7: aload 2
athrow
8: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.media.jfxmediaimpl.NativeMedia.markerLock:Ljava/util/concurrent/locks/Lock;
invokeinterface java.util.concurrent.locks.Lock.unlock:()V
9: aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lcom/sun/media/jfxmediaimpl/NativeMedia;
1 10 1 markers Ljava/util/Map<Ljava/lang/String;Ljava/lang/Double;>;
Exception table:
from to target type
2 5 5 any
Signature: ()Ljava/util/Map<Ljava/lang/String;Ljava/lang/Double;>;
public double removeMarker(java.lang.String);
descriptor: (Ljava/lang/String;)D
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=6, args_size=2
start local 0 start local 1 0: aload 1
ifnonnull 2
1: new java.lang.IllegalArgumentException
dup
ldc "markerName == null!"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
ldc -1.0
dstore 2
start local 2 3: iconst_0
istore 4
start local 4 4: aload 0
getfield com.sun.media.jfxmediaimpl.NativeMedia.markerLock:Ljava/util/concurrent/locks/Lock;
invokeinterface java.util.concurrent.locks.Lock.lock:()V
5: aload 0
getfield com.sun.media.jfxmediaimpl.NativeMedia.markersByName:Ljava/util/Map;
aload 1
invokeinterface java.util.Map.containsKey:(Ljava/lang/Object;)Z
ifeq 16
6: aload 0
getfield com.sun.media.jfxmediaimpl.NativeMedia.markersByName:Ljava/util/Map;
aload 1
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.lang.Double
invokevirtual java.lang.Double.doubleValue:()D
dstore 2
7: aload 0
getfield com.sun.media.jfxmediaimpl.NativeMedia.markersByName:Ljava/util/Map;
aload 1
invokeinterface java.util.Map.remove:(Ljava/lang/Object;)Ljava/lang/Object;
pop
8: aload 0
getfield com.sun.media.jfxmediaimpl.NativeMedia.markersByTime:Ljava/util/NavigableMap;
dload 2
invokestatic java.lang.Double.valueOf:(D)Ljava/lang/Double;
invokeinterface java.util.NavigableMap.remove:(Ljava/lang/Object;)Ljava/lang/Object;
pop
9: aload 0
getfield com.sun.media.jfxmediaimpl.NativeMedia.markersByName:Ljava/util/Map;
invokeinterface java.util.Map.size:()I
ifle 10
iconst_1
goto 11
StackMap locals: double int
StackMap stack:
10: iconst_0
StackMap locals:
StackMap stack: int
11: istore 4
12: goto 16
StackMap locals:
StackMap stack: java.lang.Throwable
13: astore 5
14: aload 0
getfield com.sun.media.jfxmediaimpl.NativeMedia.markerLock:Ljava/util/concurrent/locks/Lock;
invokeinterface java.util.concurrent.locks.Lock.unlock:()V
15: aload 5
athrow
16: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.media.jfxmediaimpl.NativeMedia.markerLock:Ljava/util/concurrent/locks/Lock;
invokeinterface java.util.concurrent.locks.Lock.unlock:()V
17: aload 0
iload 4
invokevirtual com.sun.media.jfxmediaimpl.NativeMedia.fireMarkerStateEvent:(Z)V
18: dload 2
dreturn
end local 4 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 19 0 this Lcom/sun/media/jfxmediaimpl/NativeMedia;
0 19 1 markerName Ljava/lang/String;
3 19 2 time D
4 19 4 hasMarkers Z
Exception table:
from to target type
5 13 13 any
MethodParameters:
Name Flags
markerName
public void removeAllMarkers();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
getfield com.sun.media.jfxmediaimpl.NativeMedia.markerLock:Ljava/util/concurrent/locks/Lock;
invokeinterface java.util.concurrent.locks.Lock.lock:()V
1: aload 0
getfield com.sun.media.jfxmediaimpl.NativeMedia.markersByName:Ljava/util/Map;
invokeinterface java.util.Map.clear:()V
2: aload 0
getfield com.sun.media.jfxmediaimpl.NativeMedia.markersByTime:Ljava/util/NavigableMap;
invokeinterface java.util.NavigableMap.clear:()V
3: goto 7
StackMap locals:
StackMap stack: java.lang.Throwable
4: astore 1
5: aload 0
getfield com.sun.media.jfxmediaimpl.NativeMedia.markerLock:Ljava/util/concurrent/locks/Lock;
invokeinterface java.util.concurrent.locks.Lock.unlock:()V
6: aload 1
athrow
7: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.media.jfxmediaimpl.NativeMedia.markerLock:Ljava/util/concurrent/locks/Lock;
invokeinterface java.util.concurrent.locks.Lock.unlock:()V
8: aload 0
iconst_0
invokevirtual com.sun.media.jfxmediaimpl.NativeMedia.fireMarkerStateEvent:(Z)V
9: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lcom/sun/media/jfxmediaimpl/NativeMedia;
Exception table:
from to target type
1 4 4 any
public abstract void dispose();
descriptor: ()V
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
java.util.Map$Entry<java.lang.Double, java.lang.String> getNextMarker(double, boolean);
descriptor: (DZ)Ljava/util/Map$Entry;
flags: (0x0000)
Code:
stack=3, locals=6, args_size=3
start local 0 start local 1 start local 3 0: aconst_null
astore 4
start local 4 1: aload 0
getfield com.sun.media.jfxmediaimpl.NativeMedia.markerLock:Ljava/util/concurrent/locks/Lock;
invokeinterface java.util.concurrent.locks.Lock.lock:()V
2: aload 0
getfield com.sun.media.jfxmediaimpl.NativeMedia.markersByTime:Ljava/util/NavigableMap;
ifnull 11
3: iload 3
ifeq 6
4: aload 0
getfield com.sun.media.jfxmediaimpl.NativeMedia.markersByTime:Ljava/util/NavigableMap;
dload 1
invokestatic java.lang.Double.valueOf:(D)Ljava/lang/Double;
invokeinterface java.util.NavigableMap.ceilingEntry:(Ljava/lang/Object;)Ljava/util/Map$Entry;
astore 4
5: goto 11
6: StackMap locals: java.util.Map$Entry
StackMap stack:
aload 0
getfield com.sun.media.jfxmediaimpl.NativeMedia.markersByTime:Ljava/util/NavigableMap;
dload 1
invokestatic java.lang.Double.valueOf:(D)Ljava/lang/Double;
invokeinterface java.util.NavigableMap.higherEntry:(Ljava/lang/Object;)Ljava/util/Map$Entry;
astore 4
7: goto 11
StackMap locals:
StackMap stack: java.lang.Throwable
8: astore 5
9: aload 0
getfield com.sun.media.jfxmediaimpl.NativeMedia.markerLock:Ljava/util/concurrent/locks/Lock;
invokeinterface java.util.concurrent.locks.Lock.unlock:()V
10: aload 5
athrow
11: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.media.jfxmediaimpl.NativeMedia.markerLock:Ljava/util/concurrent/locks/Lock;
invokeinterface java.util.concurrent.locks.Lock.unlock:()V
12: aload 4
areturn
end local 4 end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Lcom/sun/media/jfxmediaimpl/NativeMedia;
0 13 1 time D
0 13 3 inclusive Z
1 13 4 entry Ljava/util/Map$Entry<Ljava/lang/Double;Ljava/lang/String;>;
Exception table:
from to target type
2 8 8 any
Signature: (DZ)Ljava/util/Map$Entry<Ljava/lang/Double;Ljava/lang/String;>;
MethodParameters:
Name Flags
time
inclusive
void addMarkerStateListener(com.sun.media.jfxmediaimpl.MarkerStateListener);
descriptor: (Lcom/sun/media/jfxmediaimpl/MarkerStateListener;)V
flags: (0x0000)
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 1
ifnull 10
1: aload 0
getfield com.sun.media.jfxmediaimpl.NativeMedia.listenerLock:Ljava/util/concurrent/locks/Lock;
invokeinterface java.util.concurrent.locks.Lock.lock:()V
2: aload 0
getfield com.sun.media.jfxmediaimpl.NativeMedia.markerListeners:Ljava/util/WeakHashMap;
ifnonnull 4
3: aload 0
new java.util.WeakHashMap
dup
invokespecial java.util.WeakHashMap.<init>:()V
putfield com.sun.media.jfxmediaimpl.NativeMedia.markerListeners:Ljava/util/WeakHashMap;
4: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.media.jfxmediaimpl.NativeMedia.markerListeners:Ljava/util/WeakHashMap;
aload 1
getstatic java.lang.Boolean.TRUE:Ljava/lang/Boolean;
invokevirtual java.util.WeakHashMap.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
5: goto 9
StackMap locals:
StackMap stack: java.lang.Throwable
6: astore 2
7: aload 0
getfield com.sun.media.jfxmediaimpl.NativeMedia.listenerLock:Ljava/util/concurrent/locks/Lock;
invokeinterface java.util.concurrent.locks.Lock.unlock:()V
8: aload 2
athrow
9: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.media.jfxmediaimpl.NativeMedia.listenerLock:Ljava/util/concurrent/locks/Lock;
invokeinterface java.util.concurrent.locks.Lock.unlock:()V
10: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lcom/sun/media/jfxmediaimpl/NativeMedia;
0 11 1 listener Lcom/sun/media/jfxmediaimpl/MarkerStateListener;
Exception table:
from to target type
2 6 6 any
MethodParameters:
Name Flags
listener
void removeMarkerStateListener(com.sun.media.jfxmediaimpl.MarkerStateListener);
descriptor: (Lcom/sun/media/jfxmediaimpl/MarkerStateListener;)V
flags: (0x0000)
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 1
ifnull 9
1: aload 0
getfield com.sun.media.jfxmediaimpl.NativeMedia.listenerLock:Ljava/util/concurrent/locks/Lock;
invokeinterface java.util.concurrent.locks.Lock.lock:()V
2: aload 0
getfield com.sun.media.jfxmediaimpl.NativeMedia.markerListeners:Ljava/util/WeakHashMap;
ifnull 8
3: aload 0
getfield com.sun.media.jfxmediaimpl.NativeMedia.markerListeners:Ljava/util/WeakHashMap;
aload 1
invokevirtual java.util.WeakHashMap.remove:(Ljava/lang/Object;)Ljava/lang/Object;
pop
4: goto 8
StackMap locals:
StackMap stack: java.lang.Throwable
5: astore 2
6: aload 0
getfield com.sun.media.jfxmediaimpl.NativeMedia.listenerLock:Ljava/util/concurrent/locks/Lock;
invokeinterface java.util.concurrent.locks.Lock.unlock:()V
7: aload 2
athrow
8: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.media.jfxmediaimpl.NativeMedia.listenerLock:Ljava/util/concurrent/locks/Lock;
invokeinterface java.util.concurrent.locks.Lock.unlock:()V
9: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lcom/sun/media/jfxmediaimpl/NativeMedia;
0 10 1 listener Lcom/sun/media/jfxmediaimpl/MarkerStateListener;
Exception table:
from to target type
2 5 5 any
MethodParameters:
Name Flags
listener
void (boolean);
descriptor: (Z)V
flags: (0x0000)
Code:
stack=2, locals=5, args_size=2
start local 0 start local 1 0: aload 0
getfield com.sun.media.jfxmediaimpl.NativeMedia.listenerLock:Ljava/util/concurrent/locks/Lock;
invokeinterface java.util.concurrent.locks.Lock.lock:()V
1: aload 0
getfield com.sun.media.jfxmediaimpl.NativeMedia.markerListeners:Ljava/util/WeakHashMap;
ifnull 11
aload 0
getfield com.sun.media.jfxmediaimpl.NativeMedia.markerListeners:Ljava/util/WeakHashMap;
invokevirtual java.util.WeakHashMap.isEmpty:()Z
ifne 11
2: aload 0
getfield com.sun.media.jfxmediaimpl.NativeMedia.markerListeners:Ljava/util/WeakHashMap;
invokevirtual java.util.WeakHashMap.keySet:()Ljava/util/Set;
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
astore 3
goto 6
StackMap locals: com.sun.media.jfxmediaimpl.NativeMedia int top java.util.Iterator
StackMap stack:
3: aload 3
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast com.sun.media.jfxmediaimpl.MarkerStateListener
astore 2
start local 2 4: aload 2
ifnull 6
5: aload 2
iload 1
invokeinterface com.sun.media.jfxmediaimpl.MarkerStateListener.markerStateChanged:(Z)V
end local 2 6: StackMap locals:
StackMap stack:
aload 3
invokeinterface java.util.Iterator.hasNext:()Z
ifne 3
7: goto 11
StackMap locals: com.sun.media.jfxmediaimpl.NativeMedia int
StackMap stack: java.lang.Throwable
8: astore 4
9: aload 0
getfield com.sun.media.jfxmediaimpl.NativeMedia.listenerLock:Ljava/util/concurrent/locks/Lock;
invokeinterface java.util.concurrent.locks.Lock.unlock:()V
10: aload 4
athrow
11: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.media.jfxmediaimpl.NativeMedia.listenerLock:Ljava/util/concurrent/locks/Lock;
invokeinterface java.util.concurrent.locks.Lock.unlock:()V
12: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Lcom/sun/media/jfxmediaimpl/NativeMedia;
0 13 1 hasMarkers Z
4 6 2 listener Lcom/sun/media/jfxmediaimpl/MarkerStateListener;
Exception table:
from to target type
1 8 8 any
MethodParameters:
Name Flags
hasMarkers
}
SourceFile: "NativeMedia.java"
InnerClasses:
public abstract Entry = java.util.Map$Entry of java.util.Map