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.

Since:
JDE 4.0.0
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.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

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:
JDE 4.0.0
Method Detail

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:
JDE 4.0.0



Copyright 1999-2009 Research In Motion Limited. 295 Phillip Street, Waterloo, Ontario, Canada, N2L 3W8. All Rights Reserved.
Copyright 1993-2003 Sun Microsystems, Inc. 901 San Antonio Road, Palo Alto, California, 94303, U.S.A.
Copyright 2002-2003 Nokia Corporation All Rights Reserved.
Java is a trademark or registered trademark of Sun Microsystems, Inc. in the US and other countries.