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- Since:
 - BlackBerry API 4.0.0
 
| 
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.- Since:
 - BlackBerry API 4.0.0
 
 
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.
 - Since:
 - BlackBerry API 4.0.0
 
 
 
Copyright 1999-2011 Research In Motion Limited.  295 Phillip Street, Waterloo, Ontario, Canada, N2L 3W8.  All Rights Reserved.
Java is a trademark of Oracle America Inc. in the US and other countries.
Legal