|
Lizzy v1.1.1 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object christophedelory.playlist.wpl.Media
public class Media
Specifies one of the media items in a playlist.
Windows Media Player 9 Series or later.
Constructor Summary | |
---|---|
Media()
|
Method Summary | |
---|---|
String |
getContentId()
Returns the content ID (WPL GUID) that is unique to this media item. |
String |
getSource()
Returns the URL of this media item, as a string. |
String |
getTrackingId()
Returns the tracking ID (WPL GUID) that can be used to track the File System Object for this media item. |
void |
setContentId(String cid)
Initializes the content ID that is unique to this media item. |
void |
setSource(String source)
Initializes the URL of this media element from the specified string. |
void |
setTrackingId(String tid)
Initializes the tracking ID that can be used to track the File System Object for this media item. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Media()
Method Detail |
---|
public String getSource()
null
if not yet initialized.setSource(java.lang.String)
public void setSource(String source)
source
- an URL. Shall not be null
.
NullPointerException
- if source
is null
.getSource()
public String getContentId()
null
.setContentId(java.lang.String)
public void setContentId(String cid)
cid
- the content ID. May be null
.getContentId()
public String getTrackingId()
null
.setTrackingId(java.lang.String)
public void setTrackingId(String tid)
tid
- the tracking ID. May be null
.getTrackingId()
|
© 2008-2009 Christophe Delory | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |