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, createMetadataParserprivate static final java.lang.String[] CONTENT_TYPES
private static final java.lang.String[] PROTOCOLS
public static Platform getPlatformInstance()
public boolean loadPlatform()
loadPlatform in class Platformpublic java.lang.String[] getSupportedContentTypes()
getSupportedContentTypes in class Platformpublic java.lang.String[] getSupportedProtocols()
getSupportedProtocols in class Platformpublic Media createMedia(Locator source)
createMedia in class Platformpublic MediaPlayer createMediaPlayer(Locator source)
PlatformcreateMediaPlayer in class Platformprivate static boolean osxPlatformInit()