Class TagModelTargetDuration
- Object
-
- com.wowza.wms.manifest.model.ManifestModelLogging
-
- com.wowza.wms.manifest.model.m3u8.tag.TagModel
-
- com.wowza.wms.manifest.model.m3u8.tag.TagModelTargetDuration
-
- All Implemented Interfaces:
Cloneable
public class TagModelTargetDuration extends TagModel
-
-
Field Summary
-
Fields inherited from class com.wowza.wms.manifest.model.m3u8.tag.TagModel
attributes, tagName
-
-
Constructor Summary
Constructors Constructor Description TagModelTargetDuration()
TagModelTargetDuration(int duration)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object obj)
Integer
getTargetDuration()
int
hashCode()
boolean
isMediaSegmentTag()
boolean
isValid(Integer version)
void
setTargetDuration(Integer targetDuration)
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
-
getTargetDuration
public Integer getTargetDuration()
- Returns:
- the targetDuration
-
setTargetDuration
public void setTargetDuration(Integer targetDuration)
- Parameters:
targetDuration
- the targetDuration 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
-
-