FileDocCategorySizeDatePackage
ContentDescriptor.javaAPI DocphoneME MR2 API (J2ME)1857Wed May 02 16:47:16 BST 2007com.sun.mmedia.protocol

ContentDescriptor

public class ContentDescriptor extends Object
A ContentDescriptor identifies media data containers.
see
SourceStream

Fields Summary
private String
encoding
Constructors Summary
public ContentDescriptor(String contentType)
Create a content descriptor with the specified content type.

param
contentType The content type of this descriptor. If contentType is null, the type of the content is unknown.

	encoding = contentType;
    
Methods Summary
public java.lang.StringgetContentType()
Obtain a string that represents the content type for this descriptor. If the content type is not known, null is returned.

return
The content type.

	return encoding;