APIdia Launch Partner
Top Description Inners Fields Constructors Methods
com.sun.media.jfxmediaimpl.platform.osx

public final Class OSXPlatform

extends Platform
Class Inheritance
Imports
com.sun.glass.utils.NativeLibLoader, com.sun.javafx.PlatformUtil, com.sun.media.jfxmedia.Media, .MediaPlayer, com.sun.media.jfxmedia.locator.Locator, com.sun.media.jfxmedia.logging.Logger, com.sun.media.jfxmediaimpl.platform.Platform, java.util.Arrays

Mac OS X Platform implementation. This class implements the AVFoundation based platform.

Nested and Inner Type Summary

Modifier and TypeClass and Description
private static class

Field Summary

Modifier and TypeField and Description
private static final String[]
CONTENT_TYPES

The MIME types of all supported media.

private static final String[]
PROTOCOLS

All supported protocols.

Constructor Summary

AccessConstructor and Description
private

Method Summary

Modifier and TypeMethod and Description
public Media
public MediaPlayer
createMediaPlayer(Locator source)

Implements abstract com.sun.media.jfxmediaimpl.platform.Platform.createMediaPlayer.

Prepare for playing the specified media.

public static Platform
public String[]
public String[]
public boolean
loadPlatform()

Overrides com.sun.media.jfxmediaimpl.platform.Platform.loadPlatform.

Returns: false if the platform cannot be loaded

private static native boolean
Inherited from com.sun.media.jfxmediaimpl.platform.Platform:
canPlayContentTypecanPlayProtocolcreateMetadataParser

Field Detail

CONTENT_TYPESback to summary
private static final String[] CONTENT_TYPES

The MIME types of all supported media.

PROTOCOLSback to summary
private static final String[] PROTOCOLS

All supported protocols.

Constructor Detail

OSXPlatformback to summary
private OSXPlatform()

Method Detail

createMediaback to summary
public Media createMedia(Locator source)

Implements abstract com.sun.media.jfxmediaimpl.platform.Platform.createMedia.

Annotations
@Override
createMediaPlayerback to summary
public MediaPlayer createMediaPlayer(Locator source)

Implements abstract com.sun.media.jfxmediaimpl.platform.Platform.createMediaPlayer.

Doc from com.sun.media.jfxmediaimpl.platform.Platform.createMediaPlayer.

Prepare for playing the specified media. If the media stream is unsupported return null so other platforms may be used.

Annotations
@Override
getPlatformInstanceback to summary
public static Platform getPlatformInstance()

Hides com.sun.media.jfxmediaimpl.platform.Platform.getPlatformInstance.

getSupportedContentTypesback to summary
public String[] getSupportedContentTypes()

Overrides com.sun.media.jfxmediaimpl.platform.Platform.getSupportedContentTypes.

Annotations
@Override
getSupportedProtocolsback to summary
public String[] getSupportedProtocols()

Overrides com.sun.media.jfxmediaimpl.platform.Platform.getSupportedProtocols.

Annotations
@Override
loadPlatformback to summary
public boolean loadPlatform()

Overrides com.sun.media.jfxmediaimpl.platform.Platform.loadPlatform.

Returns:boolean

false if the platform cannot be loaded

Annotations
@Override
osxPlatformInitback to summary
private static native boolean osxPlatformInit()
com.sun.media.jfxmediaimpl.platform.osx back to summary

private final Class OSXPlatform.OSXPlatformInitializer

extends Object
Class Inheritance
  • java.lang.Object
  • com.sun.media.jfxmediaimpl.platform.osx.OSXPlatform.OSXPlatformInitializer

Field Summary

Modifier and TypeField and Description
private static final OSXPlatform

Constructor Summary

AccessConstructor and Description
private

Method Summary

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

globalInstanceback to summary
private static final OSXPlatform globalInstance

Constructor Detail

OSXPlatformInitializerback to summary
private OSXPlatformInitializer()