javax.media
Class ProcessorModel

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

public class ProcessorModel
extends java.lang.Object

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

Author:
Ken Larson

Constructor Summary
ProcessorModel()
           
ProcessorModel(DataSource inputDataSource, Format[] formats, ContentDescriptor outputContentDescriptor)
           
ProcessorModel(Format[] formats, ContentDescriptor outputContentDescriptor)
           
ProcessorModel(MediaLocator inputLocator, Format[] formats, ContentDescriptor outputContentDescriptor)
           
 
Method Summary
 ContentDescriptor getContentDescriptor()
           
 DataSource getInputDataSource()
           
 MediaLocator getInputLocator()
           
 Format getOutputTrackFormat(int tIndex)
           
 int getTrackCount(int availableTrackCount)
           
 boolean isFormatAcceptable(int tIndex, Format tFormat)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ProcessorModel

public ProcessorModel()

ProcessorModel

public ProcessorModel(Format[] formats,
                      ContentDescriptor outputContentDescriptor)

ProcessorModel

public ProcessorModel(DataSource inputDataSource,
                      Format[] formats,
                      ContentDescriptor outputContentDescriptor)

ProcessorModel

public ProcessorModel(MediaLocator inputLocator,
                      Format[] formats,
                      ContentDescriptor outputContentDescriptor)
Method Detail

getTrackCount

public int getTrackCount(int availableTrackCount)

getOutputTrackFormat

public Format getOutputTrackFormat(int tIndex)

isFormatAcceptable

public boolean isFormatAcceptable(int tIndex,
                                  Format tFormat)

getContentDescriptor

public ContentDescriptor getContentDescriptor()

getInputDataSource

public DataSource getInputDataSource()

getInputLocator

public MediaLocator getInputLocator()