|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.dt.iTunesController.ITPlaylistCollection
public class ITPlaylistCollection
Represents a collection of playlist objects.
Note that collection indices are always 1-based.
You can retrieve all the playlists defined for a source using
ITSource.getPlaylists().
| Field Summary | |
|---|---|
protected com.jacob.com.Dispatch |
object
|
| Constructor Summary | |
|---|---|
ITPlaylistCollection(com.jacob.com.Dispatch d)
|
|
| Method Summary | |
|---|---|
int |
getCount()
Returns the number of playlists in the collection. |
ITPlaylist |
getItem(int index)
Returns an ITPlaylist object corresponding to the given index (1-based). |
ITPlaylist |
getItemByPersistentID(int highID,
int lowID)
Returns an ITPlaylist object with the specified persistent ID. |
ITPlaylist |
ItemByName(java.lang.String name)
Returns an ITPlaylist object withthe specified name. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected com.jacob.com.Dispatch object
| Constructor Detail |
|---|
public ITPlaylistCollection(com.jacob.com.Dispatch d)
| Method Detail |
|---|
public int getCount()
public ITPlaylist getItem(int index)
index - Index of the playlist to retrieve, must be less than or
equal to ITPlaylistCollection.getCount().
public ITPlaylist ItemByName(java.lang.String name)
name - The name of the playlist to retrieve.
public ITPlaylist getItemByPersistentID(int highID,
int lowID)
highID - The high 32 bits of the 64-bit persistent ID.lowID - The low 32 bits of the 64-bit persistent ID.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||