javax.microedition.media.protocol
Class ContentDescriptor
java.lang.Object
javax.microedition.media.protocol.ContentDescriptor
public class ContentDescriptor
- extends Object
A ContentDescriptor identifies media data containers.
- See Also:
SourceStream
|
Constructor Summary |
ContentDescriptor(String contentType)
Create a content descriptor with the specified content type. |
|
Method Summary |
String |
getContentType()
Obtain a string that represents the content type
for this descriptor. |
ContentDescriptor
public ContentDescriptor(String contentType)
- 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()
- Obtain a string that represents the content type
for this descriptor.
If the content type is not known,
null is returned.
- Returns:
- The content type.
Copyright © 2010 Livescribe Inc. All Rights Reserved.
Confidential and subject to NDA.