javax.media.pim
Class PlugInManager

java.lang.Object
  extended by javax.media.PlugInManager
      extended by javax.media.pim.PlugInManager

public class PlugInManager
extends PlugInManager

Internal implementation of javax.media.PlugInManager. In progress.

Author:
Ken Larson

Field Summary
 
Fields inherited from class javax.media.PlugInManager
CODEC, DEMULTIPLEXER, EFFECT, MULTIPLEXER, RENDERER
 
Method Summary
static boolean addPlugIn(java.lang.String classname, Format[] in, Format[] out, int type)
           
static void commit()
           
static java.util.Vector<java.lang.String> getPlugInList(Format input, Format output, int type)
          Get a list of plugins that match the given input and output formats.
static Format[] getSupportedInputFormats(java.lang.String className, int type)
           
static Format[] getSupportedOutputFormats(java.lang.String className, int type)
           
static boolean removePlugIn(java.lang.String classname, int type)
           
static void setPlugInList(java.util.Vector plugins, int type)
          according to the docs, sets the search order.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getPlugInList

public static java.util.Vector<java.lang.String> getPlugInList(Format input,
                                                               Format output,
                                                               int type)
Get a list of plugins that match the given input and output formats.

Parameters:
input -
output -
type -
Returns:
A Vector of classnames

setPlugInList

public static void setPlugInList(java.util.Vector plugins,
                                 int type)
according to the docs, sets the search order. does not appear to add new plugins.

Parameters:
plugins -
type -

commit

public static void commit()
                   throws java.io.IOException
Throws:
java.io.IOException

addPlugIn

public static boolean addPlugIn(java.lang.String classname,
                                Format[] in,
                                Format[] out,
                                int type)

removePlugIn

public static boolean removePlugIn(java.lang.String classname,
                                   int type)

getSupportedInputFormats

public static Format[] getSupportedInputFormats(java.lang.String className,
                                                int type)

getSupportedOutputFormats

public static Format[] getSupportedOutputFormats(java.lang.String className,
                                                 int type)