|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
Objectcom.wowza.wms.stream.publish.Playlist
public class Playlist
| Constructor Summary | |
|---|---|
Playlist(String sName)
Class constructor - A simple structure that maintains a list of playlist items. |
|
| Method Summary | |
|---|---|
void |
addItem(String sName,
int start,
int length)
Appends an item to this playlist |
java.util.List<PlaylistItem> |
getItems()
Get the items in the playlist (returns a copy of the list) |
String |
getName()
Returns the name of this playlist as defined in the XML definition file |
boolean |
getRepeat()
|
boolean |
open(Stream s)
Opens this playlist on the given stream... |
void |
removeItem(int index)
Remove an item from the list |
void |
setRepeat(boolean repeat)
|
| Methods inherited from class Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Playlist(String sName)
sName - - name of playlist - as defined in the XML definition file| Method Detail |
|---|
public void addItem(String sName,
int start,
int length)
sName - - item namestart - - start secondslength - - playlength secondspublic java.util.List<PlaylistItem> getItems()
public String getName()
public boolean getRepeat()
public boolean open(Stream s)
s - - stream to play on
public void removeItem(int index)
index - index of item to removepublic void setRepeat(boolean repeat)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||