com.wowza.wms.stream.publish
Class PlaylistItem

Object
  extended by com.wowza.wms.stream.publish.PlaylistItem

public class PlaylistItem
extends Object


Constructor Summary
PlaylistItem(String name, int start, int length, int index)
          Class constructor - A simple structure to define parameters associated with a playlist item
 
Method Summary
 int getIndex()
           
 int getLength()
          Number of seconds of track to play
 String getName()
          Name of playlist stream
 int getStart()
          Number of seconds into track to start from
 void setIndex(int index)
           
 String toString()
           
 
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

PlaylistItem

public PlaylistItem(String name,
                    int start,
                    int length,
                    int index)
Class constructor - A simple structure to define parameters associated with a playlist item

Parameters:
name - - name of the playlist stream
start - - number of seconds into the track to start from (-2 means live stream)
length - - number of seconds of track to play
index - - index in the playlist
Method Detail

getIndex

public int getIndex()

getLength

public int getLength()
Number of seconds of track to play

Returns:
- number of seconds

getName

public String getName()
Name of playlist stream

Returns:
- name of stream

getStart

public int getStart()
Number of seconds into track to start from

Returns:
- number of seconds

setIndex

public void setIndex(int index)

toString

public String toString()
Overrides:
toString in class Object