Use is subject to License Terms. Your use of this web site or any of its contents or software indicates your agreement to be bound by these License Terms.

Copyright © 2002-2006 Sun Microsystems, Inc.; Nokia Corporation. All rights reserved. See the Copyright Notice and Specification License for more details.

MMAPI 1.2

javax.microedition.media.protocol
Class ContentDescriptor

java.lang.Object
  extended by javax.microedition.media.protocol.ContentDescriptor

public class ContentDescriptor
extends java.lang.Object

A ContentDescriptor identifies media data containers.

See Also:
SourceStream

Constructor Summary
ContentDescriptor(java.lang.String contentType)
          Create a content descriptor with the specified content type.
 
Method Summary
 java.lang.String getContentType()
          Obtain a string that represents the content type for this descriptor.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ContentDescriptor

public ContentDescriptor(java.lang.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.
Method Detail

getContentType

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.

Returns:
The content type.

MMAPI 1.2

Copyright © 2002-2006 Sun Microsystems, Inc.; Nokia Corporation. All rights reserved. See the Copyright Notice and Specification License for more details.

Use is subject to License Terms. Your use of this web site or any of its content or software indicates your agreement to be bound by these License Terms.

For more information, please consult the JSR 135 specification.