javax.media
Interface DataSink

All Superinterfaces:
Controls, MediaHandler
All Known Implementing Classes:
AbstractDataSink, Handler, Handler, StreamDataSink

public interface DataSink
extends MediaHandler, Controls

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

Author:
Ken Larson

Method Summary
 void addDataSinkListener(DataSinkListener listener)
           
 void close()
           
 java.lang.String getContentType()
           
 MediaLocator getOutputLocator()
           
 void open()
           
 void removeDataSinkListener(DataSinkListener listener)
           
 void setOutputLocator(MediaLocator output)
           
 void start()
           
 void stop()
           
 
Methods inherited from interface javax.media.MediaHandler
setSource
 
Methods inherited from interface javax.media.Controls
getControl, getControls
 

Method Detail

setOutputLocator

void setOutputLocator(MediaLocator output)

getOutputLocator

MediaLocator getOutputLocator()

start

void start()
           throws java.io.IOException
Throws:
java.io.IOException

stop

void stop()
          throws java.io.IOException
Throws:
java.io.IOException

open

void open()
          throws java.io.IOException,
                 java.lang.SecurityException
Throws:
java.io.IOException
java.lang.SecurityException

close

void close()

getContentType

java.lang.String getContentType()

addDataSinkListener

void addDataSinkListener(DataSinkListener listener)

removeDataSinkListener

void removeDataSinkListener(DataSinkListener listener)