public final class ASXPlaylist extends Object
Constructor and Description |
---|
ASXPlaylist()
Creates an empty ASX playlist
|
Modifier and Type | Method and Description |
---|---|
String |
getAbstract()
Returns the abstract element.
|
String |
getAuthor()
Returns the author of the playlist
|
String |
getCopyright()
Returns the copyright information of the playlist
|
List<ASXEntry> |
getEntries()
Returns the entries in this playlist
|
List<String> |
getEntryRefs()
Returns the URLs to external ASX playlists linked to this playlist
|
String |
getMoreInfoHref()
Returns the URL or e-mail address that provides more information about this playlist
|
HashMap<String,String> |
getParams()
Returns the custom parameters associated with this playlist
|
Repeat |
getRepeat()
Returns the playlist entries setup for playback repeats
|
String |
getTitle()
Returns the title of this playlist
|
double |
getVersion()
Returns the version of the ASX metafile from which this playlist is derived
|
boolean |
isPreviewMode()
Checks if the player should enter preview mode before playing the first clip
|
void |
setAbstract(String _abstract)
Sets the abstract element of the playlist
|
void |
setAuthor(String author)
Sets the author of the playlist
|
void |
setCopyright(String copyright)
Sets the copyright information of the playlist
|
void |
setEntries(List<ASXEntry> entries)
Sets the entries of this playlist
|
void |
setEntryRefs(List<String> entryRefs)
Sets the URLs of external ASX playlists linked to this playlist
|
void |
setMoreInfoHref(String moreInfoHref)
Sets the URL or e-mail address that provides more information about this playlist
|
void |
setParams(HashMap<String,String> params)
Associates custom paramters with this playlist
|
void |
setPreviewMode(boolean previewMode)
Sets if the player should preview the first clip before playing it.
|
void |
setRepeat(Repeat repeat)
Sets the playlist entries with playback repeats
|
void |
setTitle(String title)
Sets the title of this playlist
|
void |
setVersion(double version)
Sets the version of the ASX metafile
|
Playlist |
toPlaylist()
Returns this playlist as a Playlist object that can be used with player widgets
with
PlaylistSupport |
String |
toString()
Returns a more descriptive representation of this playlist.
|
public String getAbstract()
public void setAbstract(String _abstract)
_abstract
- describes the playlistpublic String getAuthor()
public void setAuthor(String author)
author
- the author of the playlistpublic boolean isPreviewMode()
true
if player should preview the first clip before playing it,
false
otherwisepublic void setPreviewMode(boolean previewMode)
previewMode
- true
if player should preview the first clip, false
otherwisepublic String getCopyright()
public void setCopyright(String copyright)
copyright
- the copyright informationpublic List<ASXEntry> getEntries()
public void setEntries(List<ASXEntry> entries)
entries
- the playlist entriespublic List<String> getEntryRefs()
public void setEntryRefs(List<String> entryRefs)
entryRefs
- URLs of external ASX playlistspublic String getMoreInfoHref()
public void setMoreInfoHref(String moreInfoHref)
moreInfoHref
- the URL or e-mail addresspublic HashMap<String,String> getParams()
public void setParams(HashMap<String,String> params)
params
- custom parameters for the playlistpublic Repeat getRepeat()
public void setRepeat(Repeat repeat)
repeat
- entries with playback repeatspublic String getTitle()
public void setTitle(String title)
title
- the playlist titlepublic double getVersion()
public void setVersion(double version)
version
- the version of the ASX metafilepublic String toString()
public Playlist toPlaylist()
PlaylistSupport
Copyright © 2009-2013. All Rights Reserved.