javax.tv.service.navigation
Class StreamType
java.lang.Object
|
+--javax.tv.service.navigation.StreamType
- public class StreamType
- extends java.lang.Object
This class represents values of ServiceComponent
stream types (e.g., "video", "audio", "subtitles", "data",
"sections", etc.).
- See Also:
ServiceComponent
Constructor Summary |
protected |
StreamType(java.lang.String name)
Creates a stream type object. |
Method Summary |
java.lang.String |
toString()
Provides the string name of the type. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
VIDEO
public static final StreamType VIDEO
- Video component.
AUDIO
public static final StreamType AUDIO
- Audio component.
SUBTITLES
public static final StreamType SUBTITLES
- Subtitles component.
DATA
public static final StreamType DATA
- Data component.
SECTIONS
public static final StreamType SECTIONS
- MPEG sections component.
UNKNOWN
public static final StreamType UNKNOWN
- Unknown component.
StreamType
protected StreamType(java.lang.String name)
- Creates a stream type object.
- Parameters:
name
- The string name of this type (e.g., "VIDEO").
toString
public java.lang.String toString()
- Provides the string name of the type. For the type objects
defined in this class, the string name will be identical to the
class variable name.
- Overrides:
toString
in class java.lang.Object
- Returns:
- The string name of the type.
Copyright © 1998 - 2000 Sun Microsystems, Inc.