javax.media
Class Format
java.lang.Object
javax.media.Format
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Cloneable
- Direct Known Subclasses:
- AudioFormat, ContentDescriptor, VideoFormat
public class Format
- extends java.lang.Object
- implements java.lang.Cloneable, java.io.Serializable
Standard JMF class -- see this class in the JMF Javadoc.
Coding complete.
- Author:
- Ken Larson
- See Also:
- Serialized Form
Constructor Summary |
Format(java.lang.String encoding)
|
Format(java.lang.String encoding,
java.lang.Class dataType)
|
Methods inherited from class java.lang.Object |
finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
NOT_SPECIFIED
public static final int NOT_SPECIFIED
- See Also:
- Constant Field Values
TRUE
public static final int TRUE
- See Also:
- Constant Field Values
FALSE
public static final int FALSE
- See Also:
- Constant Field Values
encoding
protected java.lang.String encoding
byteArray
public static final java.lang.Class byteArray
shortArray
public static final java.lang.Class shortArray
intArray
public static final java.lang.Class intArray
formatArray
public static final java.lang.Class formatArray
dataType
protected java.lang.Class dataType
clz
protected java.lang.Class clz
Format
public Format(java.lang.String encoding)
Format
public Format(java.lang.String encoding,
java.lang.Class dataType)
getEncoding
public java.lang.String getEncoding()
getDataType
public java.lang.Class getDataType()
equals
public boolean equals(java.lang.Object format)
- Overrides:
equals
in class java.lang.Object
matches
public boolean matches(Format format)
intersects
public Format intersects(Format other)
isSameEncoding
public boolean isSameEncoding(Format other)
isSameEncoding
public boolean isSameEncoding(java.lang.String encoding)
relax
public Format relax()
clone
public java.lang.Object clone()
- Overrides:
clone
in class java.lang.Object
copy
protected void copy(Format f)
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object