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.

Copyright © 2006 Sun Microsystems, Inc. All rights reserved.

JSR-927 (Maintenance Release)

javax.tv.service.navigation
Class StreamType

java.lang.Object
  extended byjavax.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.

Returns:
The string name of the type.

JSR-927 (Maintenance Release)

Copyright © 2006 Sun Microsystems, Inc. All rights reserved. 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 927 specification.
ing HTML reloc