javax.microedition.media
Class Manager

java.lang.Object
  extended by javax.microedition.media.Manager

public final class Manager
extends Object


Field Summary
static String MIDI_DEVICE_LOCATOR
           
static String TONE_DEVICE_LOCATOR
           
 
Constructor Summary
Manager()
           
 
Method Summary
static Player createPlayer(DataSource source)
           
static Player createPlayer(InputStream stream, String type)
           
static Player createPlayer(String locator)
           
static String[] getSupportedContentTypes(String protocol)
           
static String[] getSupportedProtocols(String content_type)
           
static TimeBase getSystemTimeBase()
           
static void playTone(int note, int duration, int volume)
           
static void setStaticInstance(Manager delegate)
           
protected  Player static_createPlayer(DataSource source)
           
protected  Player static_createPlayer(InputStream stream, String type)
           
protected  Player static_createPlayer(String locator)
           
protected  String[] static_getSupportedContentTypes(String protocol)
           
protected  String[] static_getSupportedProtocols(String content_type)
           
protected  TimeBase static_getSystemTimeBase()
           
protected  void static_playTone(int note, int duration, int volume)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

TONE_DEVICE_LOCATOR

public static final String TONE_DEVICE_LOCATOR
See Also:
Constant Field Values

MIDI_DEVICE_LOCATOR

public static final String MIDI_DEVICE_LOCATOR
See Also:
Constant Field Values
Constructor Detail

Manager

public Manager()
Method Detail

setStaticInstance

public static void setStaticInstance(Manager delegate)

getSupportedContentTypes

public static String[] getSupportedContentTypes(String protocol)

static_getSupportedContentTypes

protected String[] static_getSupportedContentTypes(String protocol)

getSupportedProtocols

public static String[] getSupportedProtocols(String content_type)

static_getSupportedProtocols

protected String[] static_getSupportedProtocols(String content_type)

createPlayer

public static Player createPlayer(String locator)
                           throws IOException,
                                  MediaException
Throws:
IOException
MediaException

static_createPlayer

protected Player static_createPlayer(String locator)
                              throws IOException,
                                     MediaException
Throws:
IOException
MediaException

createPlayer

public static Player createPlayer(InputStream stream,
                                  String type)
                           throws IOException,
                                  MediaException
Throws:
IOException
MediaException

static_createPlayer

protected Player static_createPlayer(InputStream stream,
                                     String type)
                              throws IOException,
                                     MediaException
Throws:
IOException
MediaException

playTone

public static void playTone(int note,
                            int duration,
                            int volume)
                     throws MediaException
Throws:
MediaException

static_playTone

protected void static_playTone(int note,
                               int duration,
                               int volume)
                        throws MediaException
Throws:
MediaException

createPlayer

public static Player createPlayer(DataSource source)
                           throws IOException,
                                  MediaException
Throws:
IOException
MediaException

static_createPlayer

protected Player static_createPlayer(DataSource source)
                              throws IOException,
                                     MediaException
Throws:
IOException
MediaException

getSystemTimeBase

public static TimeBase getSystemTimeBase()

static_getSystemTimeBase

protected TimeBase static_getSystemTimeBase()


Copyright © 2006-2007 Jayway AB. All Rights Reserved.