- public abstract interface DataSinkProxy
- extends MediaProxy
A datasink proxy is a MediaProxy and is part of the factory mechanism to create a
DataSink. It provides the content type of a datasink based on its
destination media locator. The destination media locator will
typically contain information like the file extension which will be
used by the DataSinkProxy to deduce the content type. The
media locator could have any format as long as its DataSinkProxy is
capable of parsing the media locator and returning its type.
- JMF 2.0
Return the content type of the datasink to be created for this
public java.lang.String getContentType(MediaLocator destination)
- Return the content type of the datasink to be created for this
medialocator. Return null if the content type cannot be
identified from the MediaLocator.
destination - The destination MediaLocator which the
Manager uses to create the DataSink.