public class PlaylistItem
extends Object
| Constructor | Description |
|---|---|
PlaylistItem(String name,
int start,
int length,
int index) |
Class constructor - A simple structure to define parameters associated with a playlist item
|
| Modifier and Type | Method | Description |
|---|---|---|
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() |
public PlaylistItem(String name,
int start,
int length,
int index)
name - - name of the playlist streamstart - - number of seconds into the track to start from (-2 means live stream)length - - number of seconds of track to playindex - - index in the playlistpublic int getIndex()
public int getLength()
public String getName()
public int getStart()
public void setIndex(int index)
public String toString()
toString in class Object