public final class OSXPlatform extends Platform
Modifier and Type | Class and Description |
---|---|
private static class |
OSXPlatform.OSXPlatformInitializer |
Modifier and Type | Field and Description |
---|---|
private static java.lang.String[] |
CONTENT_TYPES
The MIME types of all supported media.
|
private static java.lang.String[] |
PROTOCOLS
All supported protocols.
|
Modifier | Constructor and Description |
---|---|
private |
OSXPlatform() |
Modifier and Type | Method and Description |
---|---|
Media |
createMedia(Locator source) |
MediaPlayer |
createMediaPlayer(Locator source)
Prepare for playing the specified media.
|
static Platform |
getPlatformInstance() |
java.lang.String[] |
getSupportedContentTypes() |
java.lang.String[] |
getSupportedProtocols() |
boolean |
loadPlatform() |
private static boolean |
osxPlatformInit() |
canPlayContentType, canPlayProtocol, createMetadataParser
private static final java.lang.String[] CONTENT_TYPES
private static final java.lang.String[] PROTOCOLS
public static Platform getPlatformInstance()
public boolean loadPlatform()
loadPlatform
in class Platform
public java.lang.String[] getSupportedContentTypes()
getSupportedContentTypes
in class Platform
public java.lang.String[] getSupportedProtocols()
getSupportedProtocols
in class Platform
public Media createMedia(Locator source)
createMedia
in class Platform
public MediaPlayer createMediaPlayer(Locator source)
Platform
createMediaPlayer
in class Platform
private static boolean osxPlatformInit()