javax.media
Class Manager

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

public final class Manager
extends java.lang.Object

Standard JMF class -- see this class in the JMF Javadoc.

Author:
Ken Larson

Field Summary
static int CACHING
           
static java.lang.String FMJ_TAG
           
static int LIGHTWEIGHT_RENDERER
           
static int MAX_SECURITY
           
static int PLUGIN_PLAYER
           
static boolean RETHROW_IO_EXCEPTIONS
           
static java.lang.String UNKNOWN_CONTENT_NAME
           
 
Constructor Summary
Manager()
           
 
Method Summary
static DataSource createCloneableDataSource(DataSource source)
           
static DataSink createDataSink(DataSource datasource, MediaLocator destLocator)
           
static DataSource createDataSource(MediaLocator sourceLocator)
           
static DataSource createDataSource(java.net.URL sourceURL)
           
static DataSource createMergingDataSource(DataSource[] sources)
           
static Player createPlayer(DataSource source)
           
static Player createPlayer(MediaLocator sourceLocator)
           
static Player createPlayer(java.net.URL sourceURL)
           
static Processor createProcessor(DataSource source)
           
static Processor createProcessor(MediaLocator sourceLocator)
           
static Processor createProcessor(java.net.URL sourceURL)
           
static Player createRealizedPlayer(DataSource source)
           
static Player createRealizedPlayer(MediaLocator ml)
           
static Player createRealizedPlayer(java.net.URL sourceURL)
           
static Processor createRealizedProcessor(ProcessorModel model)
           
static java.lang.String getCacheDirectory()
           
static java.util.Vector getClassList(java.lang.String contentName, java.util.Vector packages, java.lang.String component2, java.lang.String className)
           
static java.util.Vector getDataSinkClassList(java.lang.String contentName)
           
static java.util.Vector getDataSourceList(java.lang.String protocolName)
           
static java.util.Vector getHandlerClassList(java.lang.String contentName)
           
static java.lang.Object getHint(int hint)
           
static java.util.Vector getProcessorClassList(java.lang.String contentName)
           
static TimeBase getSystemTimeBase()
           
static java.lang.String getVersion()
           
static void setHint(int hint, java.lang.Object value)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

FMJ_TAG

public static final java.lang.String FMJ_TAG
See Also:
Constant Field Values

MAX_SECURITY

public static final int MAX_SECURITY
See Also:
Constant Field Values

CACHING

public static final int CACHING
See Also:
Constant Field Values

LIGHTWEIGHT_RENDERER

public static final int LIGHTWEIGHT_RENDERER
See Also:
Constant Field Values

PLUGIN_PLAYER

public static final int PLUGIN_PLAYER
See Also:
Constant Field Values

UNKNOWN_CONTENT_NAME

public static final java.lang.String UNKNOWN_CONTENT_NAME
See Also:
Constant Field Values

RETHROW_IO_EXCEPTIONS

public static final boolean RETHROW_IO_EXCEPTIONS
See Also:
Constant Field Values
Constructor Detail

Manager

public Manager()
Method Detail

getVersion

public static java.lang.String getVersion()

createPlayer

public static Player createPlayer(java.net.URL sourceURL)
                           throws java.io.IOException,
                                  NoPlayerException
Throws:
java.io.IOException
NoPlayerException

createPlayer

public static Player createPlayer(MediaLocator sourceLocator)
                           throws java.io.IOException,
                                  NoPlayerException
Throws:
java.io.IOException
NoPlayerException

createPlayer

public static Player createPlayer(DataSource source)
                           throws java.io.IOException,
                                  NoPlayerException
Throws:
java.io.IOException
NoPlayerException

createRealizedPlayer

public static Player createRealizedPlayer(java.net.URL sourceURL)
                                   throws java.io.IOException,
                                          NoPlayerException,
                                          CannotRealizeException
Throws:
java.io.IOException
NoPlayerException
CannotRealizeException

createRealizedPlayer

public static Player createRealizedPlayer(MediaLocator ml)
                                   throws java.io.IOException,
                                          NoPlayerException,
                                          CannotRealizeException
Throws:
java.io.IOException
NoPlayerException
CannotRealizeException

createRealizedPlayer

public static Player createRealizedPlayer(DataSource source)
                                   throws java.io.IOException,
                                          NoPlayerException,
                                          CannotRealizeException
Throws:
java.io.IOException
NoPlayerException
CannotRealizeException

createProcessor

public static Processor createProcessor(java.net.URL sourceURL)
                                 throws java.io.IOException,
                                        NoProcessorException
Throws:
java.io.IOException
NoProcessorException

createProcessor

public static Processor createProcessor(MediaLocator sourceLocator)
                                 throws java.io.IOException,
                                        NoProcessorException
Throws:
java.io.IOException
NoProcessorException

createProcessor

public static Processor createProcessor(DataSource source)
                                 throws java.io.IOException,
                                        NoProcessorException
Throws:
java.io.IOException
NoProcessorException

createRealizedProcessor

public static Processor createRealizedProcessor(ProcessorModel model)
                                         throws java.io.IOException,
                                                NoProcessorException,
                                                CannotRealizeException
Throws:
java.io.IOException
NoProcessorException
CannotRealizeException

createDataSource

public static DataSource createDataSource(java.net.URL sourceURL)
                                   throws java.io.IOException,
                                          NoDataSourceException
Throws:
java.io.IOException
NoDataSourceException

createDataSource

public static DataSource createDataSource(MediaLocator sourceLocator)
                                   throws java.io.IOException,
                                          NoDataSourceException
Throws:
java.io.IOException
NoDataSourceException

createMergingDataSource

public static DataSource createMergingDataSource(DataSource[] sources)
                                          throws IncompatibleSourceException
Throws:
IncompatibleSourceException

createCloneableDataSource

public static DataSource createCloneableDataSource(DataSource source)

getSystemTimeBase

public static TimeBase getSystemTimeBase()

createDataSink

public static DataSink createDataSink(DataSource datasource,
                                      MediaLocator destLocator)
                               throws NoDataSinkException
Throws:
NoDataSinkException

getCacheDirectory

public static java.lang.String getCacheDirectory()

setHint

public static void setHint(int hint,
                           java.lang.Object value)

getHint

public static java.lang.Object getHint(int hint)

getDataSourceList

public static java.util.Vector getDataSourceList(java.lang.String protocolName)

getClassList

public static java.util.Vector getClassList(java.lang.String contentName,
                                            java.util.Vector packages,
                                            java.lang.String component2,
                                            java.lang.String className)

getDataSinkClassList

public static java.util.Vector getDataSinkClassList(java.lang.String contentName)

getHandlerClassList

public static java.util.Vector getHandlerClassList(java.lang.String contentName)

getProcessorClassList

public static java.util.Vector getProcessorClassList(java.lang.String contentName)