Java TV(tm) API 1.0

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

Field Summary
static StreamType AUDIO
          Audio component.
static StreamType DATA
          Data component.
static StreamType SECTIONS
          MPEG sections component.
static StreamType SUBTITLES
          Subtitles component.
static StreamType UNKNOWN
          Unknown component.
static StreamType VIDEO
          Video component.
 
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
 

Field Detail

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.
Constructor Detail

StreamType

protected StreamType(java.lang.String name)
Creates a stream type object.
Parameters:
name - The string name of this type (e.g., "VIDEO").
Method Detail

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.

Java TV(tm) API 1.0

Copyright © 1998 - 2000 Sun Microsystems, Inc.