public final class com.sun.media.jfxmediaimpl.platform.osx.OSXPlatform extends com.sun.media.jfxmediaimpl.platform.Platform
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: com.sun.media.jfxmediaimpl.platform.osx.OSXPlatform
super_class: com.sun.media.jfxmediaimpl.platform.Platform
{
private static final java.lang.String[] CONTENT_TYPES;
descriptor: [Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final java.lang.String[] PROTOCOLS;
descriptor: [Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=4, locals=0, args_size=0
0: bipush 8
anewarray java.lang.String
dup
iconst_0
1: ldc "audio/x-aiff"
aastore
dup
iconst_1
2: ldc "audio/mp3"
aastore
dup
iconst_2
3: ldc "audio/mpeg"
aastore
dup
iconst_3
4: ldc "audio/x-m4a"
aastore
dup
iconst_4
5: ldc "video/mp4"
aastore
dup
iconst_5
6: ldc "video/x-m4v"
aastore
dup
bipush 6
7: ldc "application/vnd.apple.mpegurl"
aastore
dup
bipush 7
8: ldc "audio/mpegurl"
aastore
9: putstatic com.sun.media.jfxmediaimpl.platform.osx.OSXPlatform.CONTENT_TYPES:[Ljava/lang/String;
10: iconst_3
anewarray java.lang.String
dup
iconst_0
11: ldc "file"
aastore
dup
iconst_1
12: ldc "http"
aastore
dup
iconst_2
13: ldc "https"
aastore
14: putstatic com.sun.media.jfxmediaimpl.platform.osx.OSXPlatform.PROTOCOLS:[Ljava/lang/String;
15: return
LocalVariableTable:
Start End Slot Name Signature
public static com.sun.media.jfxmediaimpl.platform.Platform getPlatformInstance();
descriptor: ()Lcom/sun/media/jfxmediaimpl/platform/Platform;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: getstatic com.sun.media.jfxmediaimpl.platform.osx.OSXPlatform$OSXPlatformInitializer.globalInstance:Lcom/sun/media/jfxmediaimpl/platform/osx/OSXPlatform;
areturn
LocalVariableTable:
Start End Slot Name Signature
private void <init>();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial com.sun.media.jfxmediaimpl.platform.Platform.<init>:()V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/sun/media/jfxmediaimpl/platform/osx/OSXPlatform;
public boolean loadPlatform();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: invokestatic com.sun.media.jfxmediaimpl.HostUtils.isMacOSX:()Z
ifne 2
1: iconst_0
ireturn
2: StackMap locals:
StackMap stack:
invokestatic com.sun.media.jfxmediaimpl.platform.osx.OSXPlatform.osxPlatformInit:()Z
3: ireturn
4: StackMap locals:
StackMap stack: java.lang.UnsatisfiedLinkError
pop
5: iconst_1
invokestatic com.sun.media.jfxmedia.logging.Logger.canLog:(I)Z
ifeq 7
6: iconst_1
ldc "Unable to load OSX platform."
invokestatic com.sun.media.jfxmedia.logging.Logger.logMsg:(ILjava/lang/String;)V
7: StackMap locals:
StackMap stack:
iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lcom/sun/media/jfxmediaimpl/platform/osx/OSXPlatform;
Exception table:
from to target type
2 3 4 Class java.lang.UnsatisfiedLinkError
public java.lang.String[] getSupportedContentTypes();
descriptor: ()[Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: getstatic com.sun.media.jfxmediaimpl.platform.osx.OSXPlatform.CONTENT_TYPES:[Ljava/lang/String;
getstatic com.sun.media.jfxmediaimpl.platform.osx.OSXPlatform.CONTENT_TYPES:[Ljava/lang/String;
arraylength
invokestatic java.util.Arrays.copyOf:([Ljava/lang/Object;I)[Ljava/lang/Object;
checkcast java.lang.String[]
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/media/jfxmediaimpl/platform/osx/OSXPlatform;
public java.lang.String[] getSupportedProtocols();
descriptor: ()[Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: getstatic com.sun.media.jfxmediaimpl.platform.osx.OSXPlatform.PROTOCOLS:[Ljava/lang/String;
getstatic com.sun.media.jfxmediaimpl.platform.osx.OSXPlatform.PROTOCOLS:[Ljava/lang/String;
arraylength
invokestatic java.util.Arrays.copyOf:([Ljava/lang/Object;I)[Ljava/lang/Object;
checkcast java.lang.String[]
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/media/jfxmediaimpl/platform/osx/OSXPlatform;
public com.sun.media.jfxmedia.Media createMedia(com.sun.media.jfxmedia.locator.Locator);
descriptor: (Lcom/sun/media/jfxmedia/locator/Locator;)Lcom/sun/media/jfxmedia/Media;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: new com.sun.media.jfxmediaimpl.platform.osx.OSXMedia
dup
aload 1
invokespecial com.sun.media.jfxmediaimpl.platform.osx.OSXMedia.<init>:(Lcom/sun/media/jfxmedia/locator/Locator;)V
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/media/jfxmediaimpl/platform/osx/OSXPlatform;
0 1 1 source Lcom/sun/media/jfxmedia/locator/Locator;
MethodParameters:
Name Flags
source
public com.sun.media.jfxmedia.MediaPlayer createMediaPlayer(com.sun.media.jfxmedia.locator.Locator);
descriptor: (Lcom/sun/media/jfxmedia/locator/Locator;)Lcom/sun/media/jfxmedia/MediaPlayer;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=2
start local 0 start local 1 0: new com.sun.media.jfxmediaimpl.platform.osx.OSXMediaPlayer
dup
aload 1
invokespecial com.sun.media.jfxmediaimpl.platform.osx.OSXMediaPlayer.<init>:(Lcom/sun/media/jfxmedia/locator/Locator;)V
1: areturn
2: StackMap locals:
StackMap stack: java.lang.Exception
astore 2
start local 2 3: iconst_1
invokestatic com.sun.media.jfxmedia.logging.Logger.canLog:(I)Z
ifeq 6
4: iconst_1
new java.lang.StringBuilder
dup
ldc "OSXPlatform caught exception while creating media player: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 2
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokestatic com.sun.media.jfxmedia.logging.Logger.logMsg:(ILjava/lang/String;)V
5: aload 2
invokevirtual java.lang.Exception.printStackTrace:()V
end local 2 6: StackMap locals:
StackMap stack:
aconst_null
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lcom/sun/media/jfxmediaimpl/platform/osx/OSXPlatform;
0 7 1 source Lcom/sun/media/jfxmedia/locator/Locator;
3 6 2 ex Ljava/lang/Exception;
Exception table:
from to target type
0 1 2 Class java.lang.Exception
MethodParameters:
Name Flags
source
private static native boolean osxPlatformInit();
descriptor: ()Z
flags: (0x010a) ACC_PRIVATE, ACC_STATIC, ACC_NATIVE
}
SourceFile: "OSXPlatform.java"
NestMembers:
com.sun.media.jfxmediaimpl.platform.osx.OSXPlatform$OSXPlatformInitializer
InnerClasses:
private final OSXPlatformInitializer = com.sun.media.jfxmediaimpl.platform.osx.OSXPlatform$OSXPlatformInitializer of com.sun.media.jfxmediaimpl.platform.osx.OSXPlatform