javax.media.protocol
Class ContentDescriptor
java.lang.Object
javax.media.Format
javax.media.protocol.ContentDescriptor
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Cloneable
- Direct Known Subclasses:
- FileTypeDescriptor
public class ContentDescriptor
- extends Format
Standard JMF class -- see this class in the JMF Javadoc.
Complete
- Author:
- Ken Larson
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
RAW
public static final java.lang.String RAW
- See Also:
- Constant Field Values
RAW_RTP
public static final java.lang.String RAW_RTP
- See Also:
- Constant Field Values
MIXED
public static final java.lang.String MIXED
- See Also:
- Constant Field Values
CONTENT_UNKNOWN
public static final java.lang.String CONTENT_UNKNOWN
- See Also:
- Constant Field Values
ContentDescriptor
public ContentDescriptor(java.lang.String cdName)
getContentType
public java.lang.String getContentType()
toString
public java.lang.String toString()
- Overrides:
toString
in class Format
mimeTypeToPackageName
public static final java.lang.String mimeTypeToPackageName(java.lang.String mimeType)
- Convert to package name.
a-z -> a-z
0-9 -> 0->9
A-Z -> a-z
/ -> .
. -> .
everything else -> _