ContentDescriptorpublic class ContentDescriptor extends Object A ContentDescriptor identifies media data containers. |
Fields Summary |
---|
private String | encoding |
Constructors Summary |
---|
public ContentDescriptor(String contentType)Create a content descriptor with the specified content type.
encoding = contentType;
|
Methods Summary |
---|
public java.lang.String | getContentType()Obtain a string that represents the content type
for this descriptor.
If the content type is not known, null is returned.
return encoding;
|
|