| java.lang.Object com.sun.mmedia.protocol.ContentDescriptor
ContentDescriptor | public class ContentDescriptor (Code) | | A ContentDescriptor identifies media data containers.
See Also: SourceStream |
Constructor Summary | |
public | ContentDescriptor(String contentType) Create a content descriptor with the specified content type. |
Method Summary | |
public String | getContentType() Obtain a string that represents the content type
for this descriptor. |
ContentDescriptor | public ContentDescriptor(String contentType)(Code) | | Create a content descriptor with the specified content type.
Parameters: contentType - The content type of this descriptor.If contentType is null , the type of the content is unknown. |
getContentType | public String getContentType()(Code) | | Obtain a string that represents the content type
for this descriptor.
If the content type is not known, null is returned.
The content type. |
|
|