Class TagModelINF
- Object
-
- com.wowza.wms.manifest.model.ManifestModelLogging
-
- com.wowza.wms.manifest.model.m3u8.tag.TagModel
-
- com.wowza.wms.manifest.model.m3u8.tag.TagModelINF
-
- All Implemented Interfaces:
Cloneable
public class TagModelINF extends TagModel
-
-
Field Summary
-
Fields inherited from class com.wowza.wms.manifest.model.m3u8.tag.TagModel
attributes, tagName
-
-
Constructor Summary
Constructors Constructor Description TagModelINF()
TagModelINF(Object chunkDurationStr, String titleStr)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object obj)
Object
getDuration()
String
getTitle()
int
hashCode()
boolean
isMediaSegmentTag()
boolean
isValid(Integer version)
void
setDuration(Object duration)
void
setTitle(String title)
String
toString()
boolean
validForMasterPlaylist()
boolean
validForMediaPlaylist()
void
write(TagWriter writer)
-
Methods inherited from class com.wowza.wms.manifest.model.m3u8.tag.TagModel
addAllAttributes, addAttribute, clone, equals, findTags, formatAttributes, formatBoolean, formatBooleanAttribute, formatDoubleAttribute, formatEnumAttribute, formatFloat, formatFloatAttribute, formatInteger, formatIntegerAttribute, formatLong, formatLongAttribute, formatQuotedStringAttribute, formatString, formatUnquotedStringAttribute, formatValue, getContextStr, getTag, getTagName, getUnknownAttributes, setContextStr
-
Methods inherited from class com.wowza.wms.manifest.model.ManifestModelLogging
getDebugLog, logDebug, logError, logError, logError, logInfo, logWarn, setDebugLog, setUseSystemOut, usingSystemOut
-
-
-
-
Method Detail
-
getDuration
public Object getDuration()
- Returns:
- the duration
-
setDuration
public void setDuration(Object duration)
- Parameters:
duration
- the duration to set as either a Float or Integer object
-
getTitle
public String getTitle()
- Returns:
- the title
-
setTitle
public void setTitle(String title)
- Parameters:
title
- the title to set
-
validForMasterPlaylist
public boolean validForMasterPlaylist()
- Specified by:
validForMasterPlaylist
in classTagModel
-
validForMediaPlaylist
public boolean validForMediaPlaylist()
- Specified by:
validForMediaPlaylist
in classTagModel
-
write
public void write(TagWriter writer) throws java.io.IOException
-
isMediaSegmentTag
public boolean isMediaSegmentTag()
- Specified by:
isMediaSegmentTag
in classTagModel
-
-