public class PlaylistModel extends ManifestModel
| Modifier and Type | Field | Description |
|---|---|---|
java.util.List<MediaSegmentModel> |
mediaSegments |
|
java.util.List<PlaylistModel> |
playlists |
|
WMSProperties |
properties |
|
java.util.List<TagModel> |
tags |
| Constructor | Description |
|---|---|
PlaylistModel() |
| Modifier and Type | Method | Description |
|---|---|---|
boolean |
addAllTags(java.util.Collection<? extends TagModel> tags) |
Add a list of tags to the playlistmodel and propagate context and debug settings
|
boolean |
addTag(TagModel tag) |
Add a tag to the playlist model and propagate context and debug settings
|
Object |
clone() |
|
boolean |
equals(Object obj) |
|
String |
getContextStr() |
Get the context string associated with the Model to include with the log statements
|
WMSProperties |
getProperties() |
|
java.net.URI |
getUri() |
Get the uri of the playlist
|
int |
getVersion() |
Get the playlist version
|
int |
hashCode() |
|
boolean |
isExtended() |
Is this an extended M3U8 playlist
|
boolean |
isMasterPlaylist() |
Is the playlist represented by this class a Master playlist?
|
boolean |
isMediaPlaylist() |
Is the playlist represent by this class a Media Playlist
|
void |
setContextStr(String context) |
Specific to Playlist reader to set the context in which the playlist is reading.
|
void |
setMasterPlaylist() |
Mark the playlist this instance represents as a master playlist.
|
void |
setMediaPlaylist() |
Mark the playlist this instance represents as a media playlist.
|
void |
setUri(java.net.URI uri) |
Set the uri of the playlist
|
String |
toString() |
|
void |
write(TagWriter tagWriter) |
doSubs, getManifest, setManifestgetDebugLog, logDebug, logError, logError, logError, logInfo, logWarn, setDebugLog, setUseSystemOut, usingSystemOutpublic java.util.List<MediaSegmentModel> mediaSegments
public java.util.List<PlaylistModel> playlists
public WMSProperties properties
public java.util.List<TagModel> tags
public boolean addAllTags(java.util.Collection<? extends TagModel> tags)
tags - - list of tags to be added to the playlist modelpublic boolean addTag(TagModel tag)
tag - to be added to the playlist modelpublic Object clone()
throws CloneNotSupportedException
clone in class ManifestModelLoggingCloneNotSupportedExceptionpublic boolean equals(Object obj)
equals in class ManifestModelpublic String getContextStr()
ManifestModelLogginggetContextStr in class ManifestModelLoggingpublic WMSProperties getProperties()
public java.net.URI getUri()
public int getVersion()
public int hashCode()
hashCode in class ManifestModelpublic boolean isExtended()
public boolean isMasterPlaylist()
public boolean isMediaPlaylist()
public void setContextStr(String context)
context - context of the readerpublic void setMasterPlaylist()
public void setMediaPlaylist()
public void setUri(java.net.URI uri)
uri - of the playlistpublic String toString()
toString in class ManifestModelpublic void write(TagWriter tagWriter) throws java.io.IOException
write in class ManifestModeljava.io.IOException