javax.media
Class PackageManager

java.lang.Object
  extended by javax.media.PackageManager
Direct Known Subclasses:
PackageManager

public class PackageManager
extends java.lang.Object

Standard JMF class -- see this class in the JMF Javadoc. This class is used to locate DataSource and MediaHandler classes. For example, if "org.foo" is in the protocolPrefixList, when searching for a DataSource for a particular protocol "fooproto", it will look for org.foo.media.protocol.fooproto.DataSource. For example, if "org.foo" is in the contentPrefixList, when searching for a MediaHandler for a particular content "video.foovid", it will look for org.foo.media.content.video.foovid.Handler. This class does not actually do the searching for these classes, it only provides the list. The prefixes are to be searched in order until a suitable class is found. Coding complete.

Author:
Ken Larson

Constructor Summary
PackageManager()
           
 
Method Summary
static void commitContentPrefixList()
           
static void commitProtocolPrefixList()
           
static java.util.Vector getContentPrefixList()
           
static java.util.Vector getProtocolPrefixList()
           
static void setContentPrefixList(java.util.Vector list)
           
static void setProtocolPrefixList(java.util.Vector list)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PackageManager

public PackageManager()
Method Detail

getProtocolPrefixList

public static java.util.Vector getProtocolPrefixList()

setProtocolPrefixList

public static void setProtocolPrefixList(java.util.Vector list)

commitProtocolPrefixList

public static void commitProtocolPrefixList()

getContentPrefixList

public static java.util.Vector getContentPrefixList()

setContentPrefixList

public static void setContentPrefixList(java.util.Vector list)

commitContentPrefixList

public static void commitContentPrefixList()